h5analysis.interpolate

Replacement of the scipy interp1 and interp2 functions applied consistently throughout this project

Functions

interp1d(x, y, new_x, **kwargs)

Replaces the legacy scipy.interpolate.interp1d function (see here: https://docs.scipy.org/doc/scipy/tutorial/interpolate/1D.html#tutorial-interpolate-1dsection) with numpy.interp.

interp2d(x, y, z, new_x, new_y, **kwargs)

Replaces the legacy scipy.interpolate.interp2d function (see here: https://gist.github.com/ev-br/8544371b40f414b7eaf3fe6217209bff) with RegularGridInterpolator.