pub fn approx2_uniform<T, P>(
input: &Array<T>,
pos0: &Array<P>,
interp_dim0: i32,
start0: f64,
step0: f64,
pos1: &Array<P>,
interp_dim1: i32,
start1: f64,
step1: f64,
method: InterpType,
off_grid: f32,
) -> Array<T>
Expand description
Perform signal interpolation for 2d signals along a specified dimension
§Parameters
input
is the input Arraypos0
Array contains the interpolation locations for first dimensioninterp_dim0
is the dimension along which interpolation is performedstart0
is the first index alonginterp_dim0
step0
is the uniform spacing value between subsequent indices alonginterp_dim0
pos1
Array contains the interpolation locations for second dimensioninterp_dim0
is the dimension along which interpolation is performedstart0
is the first index alonginterp_dim1
step0
is the uniform spacing value between subsequent indices alonginterp_dim1
method
indicates the type of interpolation method that be used. It is of type enum InterpTypeoff_grid
is the value that will set in the output Array when certain index is out of bounds
§Return Values
An Array with interpolated values