pyccl.baryons.baryons_base module
- class pyccl.baryons.baryons_base.Baryons(self, /, *args, **kwargs)[source]
Bases:
CCLAutoRepr
,CCLNamedClass
Baryons
objects are used to include the effects of baryons on the non-linear matter power spectrum. Their main ingredient is a methodinclude_baryonic_effects()
that takes in aPk2D
and returns anotherPk2D
object that now accounts for baryonic effects (according to the model implemented in the correspondingBaryons
object).