class camb.nonlinear.NonLinearModel[source]

Abstract base class for non-linear correction models

Variables:Min_kh_nonlinear – (float64) minimum k/h at which to apply non-linear corrections
class camb.nonlinear.Halofit[source]

Bases: camb.nonlinear.NonLinearModel

Various specific approximate non-linear correction models based on HaloFit.

Variables:halofit_version – (integer/string, one of: original, bird, peacock, takahashi, mead, halomodel, casarini, mead2015)

Set the halofit model for non-linear corrections.


One of

class camb.nonlinear.SecondOrderPK[source]

Bases: camb.nonlinear.NonLinearModel

Third-order Newtonian perturbation theory results for the non-linear correction. Only intended for use at very high redshift (z>10) where corrections are perturbative, it will not give sensible results at low redshift.

See Appendix F of astro-ph/0702600 for equations and references.

Not intended for production use, it’s mainly to serve as an example alternative non-linear model implementation.