pynbody.analysis.cosmology.linear_growth_factor

pynbody.analysis.cosmology.linear_growth_factor#

pynbody.analysis.cosmology.linear_growth_factor(f, z=None)[source]#

Calculate the linear growth factor b(a), normalized to 1 at z=0, for the cosmology of snapshot f.

The output is dimensionless. If a redshift z is specified, it is used in place of the redshift in output f.