simonsobs / sotodlib

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

White noise model improvements #906

Open chervias opened 4 months ago

chervias commented 4 months 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 4 months 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.