GrowthTable¶
- class hmf.core._kernels.growth.GrowthTable(ln_a: ndarray[tuple[Any, ...], dtype[float64]], ln_d: ndarray[tuple[Any, ...], dtype[float64]], f: ndarray[tuple[Any, ...], dtype[float64]], ln_d_spline: FrozenSpline, f_spline: FrozenSpline)[source]¶
A growth factor and rate tabulated in ln a, normalised to D = 1 at a = 1.
Both are interpolated with cubic splines (ln D and f in ln a). Build it with
tabulate_growth(). Neither is extrapolated: outside the table (z < 0 or z >z_max) both are NaN. A redshift that maps to withinLN_A_ATOLbelow the first node, from round-off in ln a = -ln(1 + z), is evaluated at that node.Attributes
- ln_d_spline: FrozenSpline¶
The spline of ln D in ln a.
- f_spline: FrozenSpline¶
The spline of f in ln a.
- z_max¶
The largest redshift of the table.
Methods