hmf.cosmology.growth_factor.GenMFGrowth.growth_factor_fn

GenMFGrowth.growth_factor_fn(zmin=0.0, inverse=False)[source]

Return the growth factor as a callable function.

Parameters
  • zmin (float, optional) – The minimum redshift of the function. Default 0.0

  • inverse (bool, optional) – Whether to return the inverse relationship [z(g)]. Default False.

Returns

The normalised growth factor as a function of redshift, or redshift as a function of growth factor if inverse is True.

Return type

callable