Cosmoglobe / Commander

Commander is an Optimal Monte-carlo Markov chAiN Driven EstimatoR which implements fast and efficient end-to-end CMB posterior exploration through Gibbs sampling.
GNU General Public License v3.0
20 stars 14 forks source link

Replace `pix2vec` lookup with `ind2vec` to save memory #166

Closed MetinSa closed 1 year ago

MetinSa commented 1 year ago

Each tod object has been storing a (3, npix) lookup of pixel unit vectors. We can save a lot of memory by replacing this with a (3, nobs) lookup similar to how we do with ind2pix and ind2ang.

dncnwtts commented 1 year ago

Got the same numerical results on K-band and LFI 44 GHz.