SONoiseSimulator¶
-
class
mapsims.
SONoiseSimulator
(nside, ell_max=None, seed=None, return_uK_CMB=True, sensitivity_mode='baseline', apply_beam_correction=True, apply_kludge_correction=True, scanning_strategy='classical', LA_number_LF=1, LA_number_MF=4, LA_number_UHF=2, SA_years_LF=1, SA_one_over_f_mode='pessimistic')[source] [edit on github]¶ Bases:
object
Simulate noise maps for Simons Observatory
Simulate the noise power spectrum in spherical harmonics domain and then generate a map in microK_CMB or microK_RJ (based on return_uK_CMB)
In the constructor, this object calls the published 20180822 noise simulator and generates the expected noise power spectra for all channels. Then you need to call the
simulate
method with a channel identifier to create a simulated map.- Parameters
- nsideint
Output HEALPix NSIDE
- ell_maxint
Maximum ell for the angular power spectrum, if not provided set to 3 * nside
- seedint
Numpy random seed, each band is going to get a different seed as seed + band + (1000 for SA)
- return_uK_CMBbool
True, output is in microK_CMB, False output is in microK_RJ
- sensitivity_modestr
Value should be threshold, baseline or goal to use predefined sensitivities
- apply_beam_correctionbool
Include the effect of the beam in the noise angular power spectrum
- apply_kludge_correctionbool
If True, reduce the hitcount by a factor of 0.85 to account for not-uniformity in the scanning
- scanning_strategystr
Choose between the available scanning strategy hitmaps “classical” or “opportunistic” or path to a custom hitmap, it will be normalized, absolute hitcount does not matter
- LA_number_LFint
Number of Low Frequency tubes in LAT
- LA_number_MFint
Number of Medium Frequency tubes in LAT
- LA_number_UHFint
Number of Ultra High Frequency tubes in LAT
- SA_years_LFint
Number of years for the Low Frequency detectors to be deployed on the Small Aperture telescopes
- SA_one_over_f_mode{“pessimistic”, “optimistic”, “none”}
Correlated noise performance of the detectors on the Small Aperture telescopes
Methods Summary
simulate
(self, ch[, output_units])Create a random realization of the noise power spectrum
Methods Documentation
-
simulate
(self, ch, output_units='uK_CMB')[source] [edit on github]¶ Create a random realization of the noise power spectrum
- Parameters
- chmapsims.Channel
Channel identifier, create with e.g. mapsims.Channel(“SA”, 27)
- Returns
- output_mapndarray
Numpy array with the HEALPix map realization of noise