ACT¶
The kszx.act module contains functions for downloading/parsing ACT data products.
References
https://lambda.gsfc.nasa.gov/product/act/actadv_prod_table.html (DR5)
https://portal.nersc.gov/project/act (cluster masks from https://arxiv.org/abs/2307.01258)
- kszx.act.read_cmb(freq, dr, *, night=False, download=False)¶
Returns a pixell map. We currently only support act+planck srcfree maps.
Function args:
freq(integer): either 90, 150, or 220.dr(integer): currently,dr=5anddr=6are supported.night(boolean): either True (for night) or False (for daynight).download(boolean): if True, then all needed data files will be auto-downloaded.
(Note that for ACT DR6, there are two types of ACT+Planck coadds: DR4+DR6+Planck and DR6+Planck. According to Mat, “I would probably go with the latter since it’s more homogenous, and the dr4 data isn’t going to make a huge difference in sensitivity”, so I’m using DR6+Planck.)
- kszx.act.read_ivar(freq, dr, *, night=False, download=False)¶
Returns a pixell map. We currently only support act+planck srcfree maps.
Function args:
freq(integer): either 90, 150, or 220.dr(integer): currently, onlydr=5anddr=6are supported.night(boolean): either True (for night) or False (for daynight).download(boolean): if True, then all needed data files will be auto-downloaded.
- kszx.act.read_beam(freq, dr, lmax=None, *, night=False, download=False)¶
Returns a 1-d numpy array of length (lmax+1). We currently only support act+planck srcfree maps.
Function args:
freq(integer): either 90, 150, or 220.dr(integer): currently, onlydr=5anddr=6is supported.lmax(integer): if None, then a large lmax will be used.night(boolean): either True (for night) or False (for daynight).download(boolean): if True, then all needed data files will be auto-downloaded.
- kszx.act.read_cluster_mask(download=False)¶
Returns the cluster mask from https://arxiv.org/abs/2307.01258 as a pixell map.
- kszx.act.read_nilc_wide_mask(download=False)¶
Returns the Galactic mask from https://arxiv.org/abs/2307.01258 as a pixell map.
- kszx.act.download(dr, freq_list=None, night=False, cmb=True, ivar=True, beams=True)¶
Downloads ACT data products (cmb, ivar, beam) for a given survey.
Can be called from command line:
python -m kszx download_act.