mapsims Documentation

mapsims is a Python 3 package to produce map based simulations for the Simons Observatory or other CMB experiments.

It creates simulated maps in HEALPix and CAR pixelization based on:

  • Foreground models included in PySM

  • Custom foregrounds models from the so_pysm_models package

  • Precomputed Cosmic Microwave Background simulations

  • Noise simulations based on expected performance and simulated hitmaps

  • Effect of gaussian beam convolution

Reference/API

mapsims Package

Functions

from_config(config_file[, override])

get_default_so_resolution(ch[, field])

Load the default Simons Observatory resolution

parse_channels([filter, instrument_parameters])

Create a list of Channel objects from a HDF5 and an optional filter

Classes

Channel(tag, telescope, band, tube, beam, ...)

Base class of a channel

MapSim(channels[, nside, modeling_nside, ...])

Run map based simulations

PrecomputedAlms(filename[, input_units, ...])

Generic component based on Precomputed Alms

PrecomputedCMB(num[, nside, shape, wcs, ...])

Return a CMB map from stored alm's.

SONoiseSimulator([nside, shape, wcs, ...])

Simulate noise maps for Simons Observatory

StandalonePrecomputedCMB(num[, nside, ...])

Equivalent of PrecomputedCMB to be executed outside of PySM.

UnsupportedPythonError

Class Inheritance Diagram

Inheritance diagram of mapsims.channel_utils.Channel, mapsims.runner.MapSim, mapsims.alms.PrecomputedAlms, mapsims.cmb.PrecomputedCMB, mapsims.noise.SONoiseSimulator, mapsims.cmb.StandalonePrecomputedCMB, mapsims.UnsupportedPythonError