WhiteNoise¶
-
class
mesmer.WhiteNoise(weights=None, sens=None, pol=True)[source] [edit on github]¶ Bases:
objectSimple white noise model. See eqs (1) and (2) from arxiv: 9705188.
Methods Summary
get_pix_var_map(nside)Function to return a map containing the variance in each pixel at each frequency.
map(nside[, seed])Function to generate a realization of the noise level as a HEALPix map, with a given
nside.spectrum(lmax[, fwhm])Methods Documentation
-
get_pix_var_map(nside)[source] [edit on github]¶ Function to return a map containing the variance in each pixel at each frequency. This is a product consumed by the
mesmer.likelihood.LogProbobject, and is provided for convenient use with that.- Parameters
- nside: int
Nside parameter of the HEALPix maps to be produced.
- Returns
- ndarray
Array containing the variance in each pixel at each frequency.
-
map(nside, seed=3232)[source] [edit on github]¶ Function to generate a realization of the noise level as a HEALPix map, with a given
nside.- Parameters
- nside: int
Nside parameter of the HEALPix map to be produced.
- seed: int (optional, default=3232)
RNG seed.
- Returns
- ndarray
Noise realization as a HEALPix map.
-
spectrum(lmax, fwhm=None)[source] [edit on github]¶
-