You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have an array for the theory C_ell prediction tcl that is defined on np.arange(lmax) where lmax is quite a bit greater than the maximum multipole in the binning scheme (say, based on the nside), I still get an error:
Traceback (most recent call last):
File "sim.py", line 76, in <module>
cl_th = w.decouple_cell(w.couple_cell([tcl]))[0]
File "/home/r/rbond/msyriac/.local/lib/python3.6/site-packages/pymaster-1.0-py3.6-linux-x86_64.egg/pymaster/workspaces.py", line 142, in couple_cell
self.wsp.ncls * (self.wsp.lmax + 1))
RuntimeError: Passing inconsistent arguments from python
but it took me a while to figure that out. Could the slicing up to w.wsp.lmax+1 be done automatically whenever the maximum multipole of the input Cls is larger than w.wsp.lmax+1?
EDIT: This is on the easier_libsharp branch.
The text was updated successfully, but these errors were encountered:
If I have an array for the theory C_ell prediction
tcl
that is defined onnp.arange(lmax)
wherelmax
is quite a bit greater than the maximum multipole in the binning scheme (say, based on the nside), I still get an error:I get around this by doing instead:
but it took me a while to figure that out. Could the slicing up to
w.wsp.lmax+1
be done automatically whenever the maximum multipole of the input Cls is larger thanw.wsp.lmax+1
?EDIT: This is on the easier_libsharp branch.
The text was updated successfully, but these errors were encountered: