daxs.interpolators
: Interpolators#
The module provides interpolators.
- class daxs.interpolators.Interpolator2D(x: ndarray[Any, dtype[float64]], y: ndarray[Any, dtype[float64]], z: ndarray[Any, dtype[float64]], kind: str = 'linear', fill_value: float = nan)[source]#
Bases:
object
Two-dimensional interpolator.
- __init__(x: ndarray[Any, dtype[float64]], y: ndarray[Any, dtype[float64]], z: ndarray[Any, dtype[float64]], kind: str = 'linear', fill_value: float = nan)[source]#
- Parameters:
x – X-axis values (1-D array)
y – Y-axis values (1-D array)
z – Data values (1-D array)
kind ({'nearest', 'linear'}) – The kind of interpolation to use.
fill_value – Value used to fill in for requested points outside of the convex hull of the input points.
- property interpolator#
The actual interpolator.