skymodel.simulate_white_noise

skymodel.simulate_white_noise(freq, noise_level, nside_out=4096, unit_noise=1, arcmin=True, unit='cmb')

Function which create a White noise map for a given noise/arcmin or noise/radians. By default the code expect the noise level to be given in microK_CMB/arcmin

Parameters
freq: float or float array

Frequency of the output map in Hz.If freq=0 we get a frequency independent map.

noise_level: float, optional

noise level desired in any units of micro K_CMB by radians or arcmin.

nside_out: float, optional

Healpix nside parameter of the output map. Must be a valid value for nside. Default: 4096

unit_noise: float, optional

resolution of the noise, for exemple 1’ or 1 radians. Default: 1

arcmin: bool, optional

if true mean that the noise is given in /arcmin. Default: True

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: ‘mjy’.

Returns
array

Array contaning the white noise map at a given frequency and resolution.