function interpol
1D cubic spline interpolation.
Syntax
result = interpol(y, x, x_new)
Arguments
y: | The given y-values as array. |
x: | The given x-values as array. The arrays x and y must be of same length. |
x_new: | The new x-values as array. |
Returns
The new y-values at given points in x_new.
See also
function rebin1d