pyccl.baryons.baryons_base module
- class pyccl.baryons.baryons_base.Baryons(self, /, *args, **kwargs)[source]
Bases:
CCLAutoRepr,CCLNamedClassBaryonsobjects 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 aPk2Dand returns anotherPk2Dobject that now accounts for baryonic effects (according to the model implemented in the correspondingBaryonsobject).