Python SciPy – ndimage.spline_filter1d() function
This method is used to calculate a 1-D spline filter along the given axis. These are filtered by a spline filter.
Syntax: scipy.ndimage.spline_filter1d(input, order=3, axis=-1, output=<class ‘numpy.float64’>)
input: array_like – The input array
order: int – The order of the spline, default is 3.
axis: int, – The axis along which the spline filter is applied. Default is the last axis.
output: ndarray – The array in which to place the output, or the dtype of the returned array. Default is numpy.float64.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course