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
2ad8efb7
Commit
2ad8efb7
authored
Jan 21, 2020
by
Matthieu Tristram
Browse files
Change default for pixwin (=True)
Correct lmax for binning
parent
38dcfeca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xqml/libcov.py
xqml/libcov.py
+2
-2
No files found.
xqml/libcov.py
View file @
2ad8efb7
...
...
@@ -19,7 +19,7 @@ import _libcov as clibcov
def
compute_ds_dcb
(
ellbins
,
nside
,
ipok
,
bl
,
clth
,
Slmax
,
spec
,
pixwin
=
Fals
e
,
timing
=
False
,
MC
=
0
,
Sonly
=
False
,
openMP
=
True
):
pixwin
=
Tru
e
,
timing
=
False
,
MC
=
0
,
Sonly
=
False
,
openMP
=
True
):
"""
Compute the Pl = dS/dCl matrices.
...
...
@@ -115,7 +115,7 @@ def compute_ds_dcb( ellbins, nside, ipok, bl, clth, Slmax, spec,
clibcov
.
dSdC
(
nside
,
len
(
istokes
),
ispec
,
ellbins
,
ipok
,
bell
,
Pl
)
Pl
=
Pl
.
reshape
(
nbins
,
npix
,
npix
)
P
,
Q
,
ell
,
ellval
=
GetBinningMatrix
(
ellbins
,
Slmax
)
S
=
SignalCovMatrix
(
Pl
,
np
.
array
([
P
.
dot
(
clth
[
isp
,
2
:
int
(
ellbins
[
-
1
])
])
for
isp
in
ispecs
]).
ravel
())
S
=
SignalCovMatrix
(
Pl
,
np
.
array
([
P
.
dot
(
clth
[
isp
,
2
:
Slmax
+
1
])
for
isp
in
ispecs
]).
ravel
())
else
:
Pl
,
S
=
compute_PlS
(
ellbins
,
nside
,
ipok
,
allcosang
,
bl
,
clth
,
Slmax
,
...
...
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