simonsobs / sotodlib

Simons Observatory: Time-Ordered Data processing library.
MIT License
14 stars 16 forks source link

White noise model improvements #906

Open chervias opened 1 month ago

chervias commented 1 month ago

@tterasaki do you think it is worth to add a new mode into mapmaking.NmatWhite so you can calculate the ivar from the PSD if you want, rather than simply do 1/variance ?

tterasaki commented 1 month ago

No, I just want to add an argument for variance. I mean if aman.inv_var is specified the code will use that, and if not compute the variance from the variance.

I was wanted to say variance calculation from just take the variance is not tolerant to glitch or some other things. Variance calculation from white noise level should be better. I wanted to make it possible in that code.