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

Heavy crash when using RMS maps which have missing pixels #146

Open hermda02 opened 2 years ago

hermda02 commented 2 years ago

Line 374 of comm_output_mod does not seem to take into account masked pixels when computing chisq_map_eff. Does anyone know if the way this is defined is vital or if we can just loop over the pixels?

dncnwtts commented 2 years ago

I wrote this bit with the log(sigma0) when I forgot about the rms maps for incomplete sky. I think this can be removed completely.