Function ndarray_ndimage::spline_filter1d [−][src]
pub fn spline_filter1d<A, D>(
data: &Array<A, D>,
order: usize,
axis: Axis
) -> Array<A, D> where
A: Clone + Copy + Float + FromPrimitive + 'static,
f64: AsPrimitive<A>,
D: Dimension, Expand description
Calculate a 1-D spline filter along the given axis.
The lines of the array along the given axis are filtered by a spline filter.
data- The input N-D data.order- The order of the spline.axis- The axis along which the spline filter is applied.
Panics if order isn’t in the range [0, 5].