API
Bolt._lgammaBolt._loop_integrate_sph_bessel_filonBolt.customionBolt.integrate_sph_bessel_filonBolt.peebles_XₑBolt.saha_peebles_recombination
Bolt._lgamma — Methodlog of the gamma function
Bolt._loop_integrate_sph_bessel_filon — Methodsame as above but suitable for use in a piecewise integrator. re-use the moment I(ka) which was I(kb) previously
Bolt.customion — MethodConvenience function to create an ionisation history from some tables
Bolt.integrate_sph_bessel_filon — Methodintegrates a quadratic polynomial with moments. input f, f′, f″ are those evaluated at a, over interval (a,b). Uses a preconstructed interpolator for the moments.
Bolt.peebles_Xₑ — Methodpeebles_Xₑ(par, Xₑ₀, x_start, x_end)Solve the Peebles equation over a span of scale factors, and then construct an interpolator mapping scale factor to the resulting ionization fraction.
Arguments:
par: cosmological parametersXₑ₀: initial ionization fractionx_start: scale factor to begin integrationx_end: scale factor to end integration
Returns:
generic function: interpolator for Xₑ(x)
Bolt.saha_peebles_recombination — Methodsaha_peebles_recombination(par::AbstractCosmoParams)Utility function for generating a decent approximation to Xₑ in ΛCDM recombination, using the Saha equation until z=1587.4 and then the Peebles equation for the rest.