Commit a7c5447c authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

input mll

parent 118f8852
......@@ -49,7 +49,7 @@ def beam_correction (cov, beams, max_inv=10000):
return ib
def mask_correction (cov, mask, corr="fsky", nmode=None):
def mask_correction (cov, mask, corr="fsky", nmode=None, mll=None):
"""
Parameters
......@@ -71,7 +71,8 @@ def mask_correction (cov, mask, corr="fsky", nmode=None):
return fsky
elif corr=="mll":
lmax = shape(cov)[2]-1
mll = map.mask2mll (mask, lmax)
if mll is None:
mll = map.mask2mll (mask, lmax)
fsky = sum(mll[0,:])
nmap = shape(cov)[0]
for i in range(nmap):
......
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