### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Signal processing (`scipy.signal`) »

# scipy.signal.decimate

`scipy.signal.``decimate`(x, q, n=None, ftype='iir', axis=-1)

  downsample the signal x by an integer factor q, using an order n filter

  By default an order 8 Chebyshev type I filter is used or a 30 point FIR filter with hamming window if ftype is ‘fir’.

  Parameters : | x : N-d array the signal to be downsampled q : int the downsampling factor n : int or None the order of the filter (1 less than the length for ‘fir’) ftype : {‘iir’ or ‘fir’} the type of the lowpass filter axis : int the axis along which to decimate
  Returns : | y : N-d array the down-sampled signal

  See also

  `resample`

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Signal processing (`scipy.signal`) »