Downsample the signal by using a filter.
By default, an order 8 Chebyshev type I filter is used. A 30 point FIR filter with hamming window is used if ftype is ‘fir’.
Parameters : | x : ndarray
q : int
n : int, optional
ftype : str {‘iir’, ‘fir’}, optional
axis : int, optional
|
---|---|
Returns : | y : ndarray
|
See also