ComputeCls#

class cosmicjellyfish.CMBsurvey.CMB_obs.ComputeCls(cosmopars, print_info_specs=False, *, configuration=None)[source]#

Bases: object

Compute CMB angular power spectra for the configured observables.

Parameters:
  • cosmopars (dict) – Cosmological parameters in CosmicJellyfish basis (e.g. Omegam, h, …).

  • print_info_specs (bool, optional) – If True, print the numerical specifications currently stored in cfg.specs.

Notes

Results are stored in the result attribute after calling compute_all(). The result is a dictionary with at least:

  • ells: 1D array of multipoles

  • <obs1>x<obs2> arrays for each requested combination (e.g. CMB_TxCMB_T)

compute_all()[source]#

Compute all requested CMB spectra and store them in self.result.

print_numerical_specs()[source]#

Print the instance-owned numerical specifications (debug helper).

computecls()[source]#

Return a dictionary of CMB C_ell arrays.

Returns:

Dictionary with ells and obs1xobs2 arrays.

Return type:

dict