firecrown.likelihood.gauss_family.statistic.two_point.make_log_interpolator

firecrown.likelihood.gauss_family.statistic.two_point.make_log_interpolator#

firecrown.likelihood.gauss_family.statistic.two_point.make_log_interpolator(x, y)[source]#

Return a function object that does 1D spline interpolation.

If all the y values are greater than 0, the function interpolates log(y) as a function of log(x). Otherwise, the function interpolates y as a function of log(x). The resulting interpolater will not extrapolate; if called with an out-of-range argument it will raise a ValueError.