litebird / litebird_sim

Simulation tools for LiteBIRD
GNU General Public License v3.0
18 stars 13 forks source link

ducc0 for noise.py and other applications of FFT #249

Open paganol opened 1 year ago

paganol commented 1 year ago

Should we switch to ducc0 in noise.py? See, in particular, here and here

mreineck commented 1 year ago

Depends on the flexibility we need in the noise. If the documented 1/(f**alpha) spectrum with given f_knee and f_min is fine, then this is probably the fastest and most memory-saving approach, and it can produce infinite streams without discontinuities. If we need more general noise spectra, the infrastructure from toast may be a better fit.

paganol commented 1 year ago

For now, I would go for ducc0 implementation. Should be easy to do, @martamonelli and @pcampeti already have experience with it, and they can work on this.