pyccl.boltzmann module

pyccl.boltzmann.get_camb_pk_lin(cosmo, *, nonlin=False)[source]

Run CAMB and return the linear power spectrum.

Parameters:
  • cosmo (Cosmology) – Cosmological parameters. The cosmological parameters with which to run CAMB.

  • nonlin (bool) – Whether to compute and return the non-linear power spectrum as well.

Returns:

Power spectrum object. The linear power spectrum. If nonlin=True, returns a tuple (pk_lin, pk_nonlin).

Return type:

Pk2D

pyccl.boltzmann.get_isitgr_pk_lin(cosmo)[source]

Run ISiTGR-CAMB and return the linear power spectrum.

Parameters:

cosmo (Cosmology) – Cosmological parameters. The cosmological parameters with which to run ISiTGR-CAMB.

Returns:

Power spectrum object. The linear power spectrum.

Return type:

Pk2D

pyccl.boltzmann.get_class_pk_lin(cosmo)[source]

Run CLASS and return the linear power spectrum.

Parameters:

cosmo (Cosmology) – Cosmological parameters. The cosmological parameters with which to run CLASS.

Returns:

Power spectrum object. The linear power spectrum.

Return type:

Pk2D