Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 2ad8efb7 authored by Matthieu Tristram's avatar Matthieu Tristram
Browse files

Change default for pixwin (=True)

Correct lmax for binning
parent 38dcfeca
...@@ -19,7 +19,7 @@ import _libcov as clibcov ...@@ -19,7 +19,7 @@ import _libcov as clibcov
def compute_ds_dcb( ellbins, nside, ipok, bl, clth, Slmax, spec, def compute_ds_dcb( ellbins, nside, ipok, bl, clth, Slmax, spec,
pixwin=False, timing=False, MC=0, Sonly=False, openMP=True): pixwin=True, timing=False, MC=0, Sonly=False, openMP=True):
""" """
Compute the Pl = dS/dCl matrices. Compute the Pl = dS/dCl matrices.
...@@ -115,7 +115,7 @@ def compute_ds_dcb( ellbins, nside, ipok, bl, clth, Slmax, spec, ...@@ -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) clibcov.dSdC( nside, len(istokes), ispec, ellbins, ipok, bell, Pl)
Pl = Pl.reshape( nbins, npix, npix) Pl = Pl.reshape( nbins, npix, npix)
P, Q, ell, ellval = GetBinningMatrix(ellbins, Slmax) 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: else:
Pl, S = compute_PlS( Pl, S = compute_PlS(
ellbins, nside, ipok, allcosang, bl, clth, Slmax, ellbins, nside, ipok, allcosang, bl, clth, Slmax,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment