SOStandalonePrecomputedCMB

class mapsims.SOStandalonePrecomputedCMB(iteration_num, nside=None, shape=None, wcs=None, lensed=True, aberrated=False, has_polarization=True, cmb_set=0, cmb_dir=None, input_units='uK_RJ', input_reference_frequency_GHz=None, pixel_indices=None)[source] [edit on github]

Bases: so_pysm_models.PrecomputedAlms

Equivalent of SOPrecomputedCMB to be executed outside of PySM. This is useful if you are not simulating any other component with PySM. It loads the Alms in the constructor, when simulate(ch) is called, it convolves the Alms with the beam, generate a map and apply unit conversion.

Methods Summary

simulate(self, ch[, output_units])

Return a simulated noise map for a specific Simons Observatory channel

Methods Documentation

simulate(self, ch, output_units='uK_CMB')[source] [edit on github]

Return a simulated noise map for a specific Simons Observatory channel

Parameters
chmapsims.Channel

Simons Observatory Channel object

output_unitsstr

Units as defined by pysm.convert_units, e.g. uK_CMB or K_RJ