|
fosanalysis
A framework to evaluate distributed fiber optic sensor data
|
Contains functionality for interpolating data. More...
Functions | |
| np.array | scipy_interpolate1d (np.array x, np.array y, np.array x_new, str method, **kwargs) |
| Interpolate one-dimensional data. | |
Contains functionality for interpolating data.
| np.array fosanalysis.utils.interpolation.scipy_interpolate1d | ( | np.array | x, |
| np.array | y, | ||
| np.array | x_new, | ||
| str | method, | ||
| ** | kwargs ) |
Interpolate one-dimensional data.
| x | Original abcissa data. |
| y | Original ordinate data. |
| x_new | Abcissa data for the new data points. The interpolation function is evaluated at those points. |
| method | Name of the interpolation function to use. The interpolation function expects two parameters (x and y) and returns a callable. The returned callable should expect only a single parameter (the x_new). According to scipy.interpolate, the following options are available (consult the scipy documentation for details):
|
| **kwargs | Additionals keyword arguments. Will be passed to the interpolation function. |
Definition at line 11 of file interpolation.py.