Closed b-thorne closed 6 years ago
thanks @bthorne93 I started working on this, I'm checking the other functions to make sure they don't need to be modified.
I'm checking decorrelation
in components.py
, I believe it doesn't need modifications, right?
@zonca The current decorrelation model is meant to just multiply by a scalar at each frequency, so in theory it shouldn't need to be modified.
I think we can close this issue, this has been merged in #11
@zonca These are the changes I think will need to be made to allow the code to consider only partial maps. Most likely an incomplete list, but I hope it helps! Thanks so much!
models
function innominal.py
. I imagine just adding a kwarg forpixel_indices
to that would be the thing to do.nominal.py
. Modifying themodels
function in this file will do a lot of the work.components.py
:CMB
class,taylens
function.Dust
class,hensley_draine_2017
function through thedraw_uval
function, which draws a map of random values. Unfortunately, due to a work around we had to use in order to speed it up this model also relies on theinitialise_hd_dust_model_bandpass
function inpysm.py
, which initializes the model when bandpass-integration is requested.instrument.py
:noiser
method ofinstrument
class.Instrument.observe
is used on an instance of theSky
object. SoInstrument.writer
will have to be able to pad the chosen pixels with zeros when doing only partial skies.