CMBΒΆ

To add in the CMB (either as something to observe, or a noise source), we add

sim = maria.Simulation(instrument=my_instrument,
                       site=my_site,
                       plan=my_plan,
                       atmosphere="2d",
                       cmb="generate")

We can customize the CMB by specifying a set of cmb_kwargs to, e.g., increase the resolution of the generated map.

sim = maria.Simulation(instrument=my_instrument,
                       site=my_site,
                       plan=my_plan,
                       atmosphere="2d",
                       cmb="generate",
                       cmb_kwargs={"nside": 4096})