Helper function to interpolate one-dimensional profiles.
ndarray
Array of x values.
Array of y values.
Interpolation scale applied to the profile. If the profile is of parabolic shape, a “sqrt” scaling is recommended. In other cases or for fine sampled profiles a “lin” can also be used. Default is “sqrt”.
interp1d
Interpolator.