skymodel.skymodel¶
- skymodel.skymodel(freq, sensitivity=None, components='all', red_noise=False, cl_file=None, lensed=True, out_file=None, nside_out=4096, lmax=None, beam_FWHM=None, template='WebSky', unit='cmb')¶
Computes an all-sky map of the simulated microwave sky at the specified frequency. The skymodel uses all-sky templates in the healpix format and includes the most important galactic foregrounds, extragalactic backgrounds, the tSZ and kSZ effects of galaxy clusters, and instrumental white/red noise. The individual components can be selectively switched on and of.
- Parameters
- freq: float or float array
Frequency of the output map in Hz. If freq =-1 mean that we get frequency independent maps.
- sensitivity: float, optional
sensitivity of the instrument in units of micro K_CMB - arcmin. Default: None
- components: string or list of stings, optional
List containing the names of the components to be included in the sky model. Any combination of the following individual components is possible: ‘gal_synchrotron’, ‘gal_dust’, ‘gal_freefree’, ‘gal_ame’, ‘cib’, ‘radio_ps’, ‘cmb’, ‘tsz’, ‘ksz’. All components are used if components is set to ‘all’. If not, the specified components have to be named within brackets, as [‘ksz’,’tsz’]. Default: ‘all’
- red_noise: bool, optional
If True, a realistic white noise + red noise atmospheric model is added to the sky model in case the imput frequency is a valid SO or CCAT-prime central band frequency, i.e. 27, 39, 93, 145, 225, 279, 220, 280, 350, 405, or 860 GHz. Default: False
- cl_file: string, optional
name of a file containing a CMB power spectrum computed e.g. with CAMP. The first column of the file has to correspond to ell, the second column to Cl ell(ell+1)/2pi. If set, a random realization of the CMB based on the provided powerspectrum will be added to the data. Default: None
- lensed: bool, optional
If True, lensed SO, Sehgal and WebSky CMB maps will be used. Default: True
- out_file: string, optional
If set, the results will be written as a healpy .fits file of the given name. Default: None
- nside_out: float, optional
Healpix nside parameter of the output map. Must be a valid value for nside. Default: 4096
- lmax: float, optional
Maximum value of the multipolemoment. Default: 3*nside_out-1
- beam_FWHM: bool, optional
If set, the output will be convolved with a gaussian. The FWHM of the Gaussian in units of arcmin is given by the provided value. Default: None
- template: bool, optional
Determines the all-sky foregrounds templates to be used to build the sky model. If ‘Sehgal’ is chosen, simulations by Sehgal et al. (2010) are used. If ‘SO’ is chosen, the Simons Observatory sky model provided by Colin Hill and based on the simulations by Sehgal et al. (2010) is used. If ‘WebSky’ is chosen, the used templates will be based on the WebSky Extragalactic CMB Mocks provided by CITA. If ‘SO_reproduced’ is chosen, the SO sky model is reproduced directly from the Sehgal et al. (2010) data. Default: ‘WebSky’
- unit: bool, optional
Determines the units of the output map. The available units are ‘mjy’ –> MJy/sr (specific intensity), ‘cmb’ –> K_CMB (thermodynamic temperature), and ‘rj’ –> K_RJ (brightness temperature). Default: ‘cmb’.
- Returns
- allsky_map: float array
Healpix all-sky map of the microwave sky at the specified frequency and nside.