halomod.tools.ExtendedSpline

class halomod.tools.ExtendedSpline(x: np.ndarray, y: np.ndarray, lower_func: callable | None | str = None, upper_func: callable | None | str = None, match_lower: bool = True, match_upper: bool = True, domain=(-inf, inf), k: int = 3, lower_power_law_n=10, upper_power_law_n=10)[source]

Bases: object

Generate a function from data x,y with arbitrary behaviour below and above limit.