sbm.generate_cmb#
- sbm.generate_cmb(nside, r=0.0, cmb_seed=None)[source]#
This function generates the CMB map used in the map base simulation of litebird_sim.
- Parameters:
nside (int) – The resolution of the map.
r (float, default = 0) – The tensor-to-scalar ratio of the CMB.
cmb_seed (int, default = None) – The seed of the random number generator.
- Returns:
The I, Q, U maps of the CMB.
- Return type:
cmb (np.ndarray)