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
{{ message }}
Repository navigation
Last component of calc_mcm_spin0and2_pure always seems to be (practically) zero #97
When playing with the routine calc_mcm_spin0and2_pure I noticed something interesting: no matter which power spectra are fed into the function, the fifth output matrix always seems to contain extremely small values. This can be verified with the following script:
Is this due to a bug in the function, or is there actually some kind of symmetry in the Wigner 3j symbols which makes this component vanish by construction? If the latter, it might be good to simply skip its calculation, saving some CPU time and memory.
I'm afraid I don't really know much about how the "pure" matrices are expected to behave. I also don't think we have used these pure methods yet in PSpipe really (though, we may in the future, if/when we use PSpipe on SAT data). I agree I would be surprised if the matrix is basically 0.
Perhaps @damonge would know for sure if this sounds like a bug?
Activity
zatkins2 commentedon Jan 9, 2026
I'm afraid I don't really know much about how the "pure" matrices are expected to behave. I also don't think we have used these pure methods yet in PSpipe really (though, we may in the future, if/when we use PSpipe on SAT data). I agree I would be surprised if the matrix is basically 0.
Perhaps @damonge would know for sure if this sounds like a bug?
mreineck commentedon Jul 1, 2026
Just for future reference: the script has changed a little for the most recent
pspyversions, but the result has not: