Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
xQML
xQML
Commits
95c0c65b
Commit
95c0c65b
authored
Feb 25, 2019
by
Syl
Browse files
Fixed testesti
parent
513e5c97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
xqml/libcov.py
xqml/libcov.py
+0
-1
xqml/xqml.py
xqml/xqml.py
+4
-0
No files found.
xqml/libcov.py
View file @
95c0c65b
...
...
@@ -122,7 +122,6 @@ def compute_ds_dcb( ellbins, nside, ipok, bl, clth, Slmax, spec,
return
Pl
,
S
def
compute_PlS
(
ellbins
,
nside
,
ipok
,
allcosang
,
bl
,
clth
,
Slmax
,
spec
,
pixwin
=
True
,
timing
=
False
):
...
...
xqml/xqml.py
View file @
95c0c65b
...
...
@@ -150,17 +150,21 @@ class xQML(object):
# Invert (signalA + noise) matrix
# self.invCa = linalg.inv(self.S + self.NA)
print
(
"Inverting Ca"
)
self
.
invCa
=
pd_inv
(
self
.
S
+
self
.
NA
)
# Invert (signalB + noise) matrix
# self.invCb = linalg.inv(self.S + self.NB)
print
(
"Inverting Cb"
)
self
.
invCb
=
pd_inv
(
self
.
S
+
self
.
NB
)
# Compute E using Eq...
print
(
"Compute El"
)
self
.
E
=
El
(
self
.
invCa
,
self
.
invCb
,
self
.
Pl
)
if
not
self
.
cross
:
self
.
bias
=
biasQuadEstimator
(
self
.
NA
,
self
.
E
)
# Finally compute invW by inverting...
print
(
"Compute invW"
)
self
.
invW
=
linalg
.
inv
(
CrossWindowFunction
(
self
.
E
,
self
.
Pl
))
def
get_spectra
(
self
,
mapA
,
mapB
=
None
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment