skymodel.simulate_gal_foregrounds

skymodel.simulate_gal_foregrounds(freq, components='all', nside_out=4096, lmax=None, beam_FWHM=None, intrinsic_FWHM=10, unit='cmb')

Computes an all-sky galactic foregrounds noise map at a given frequency and nside using the Python Sky model (PySM, Thorne et al. 2017), which is build from Planck data.

Parameters
freq: float or float array

Frequency of the output map in Hz.

components: list of stings, optional

List of components to be included in the galactic foreground model. Possible components are ‘gal_synchrotron’, ‘gal_dust’, ‘gal_freefree’, and ‘gal_ame’. Alternatively, all components are included if the variable is set to ‘all’. Default: ‘all’

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 at which the atmospheric power spectrum wil be computed. 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

intrinsic_FWHM: float, optional

Determines the with of a gaussian that is always applied to the Galactic foreground maps after they have been upgraded to a higher nside. Default: 10

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
foregrounds: float array

Healpix all-sky map of the galactic foregrounds at the specified frequency.