- integer_decimation(data, decimation_factor)¶
Downsampling by applying a simple integer decimation.
Make sure that no signal is present in frequency bands above the new Nyquist frequency (samp_rate/2/decimation_factor), e.g. by applying a lowpass filter beforehand! New sampling rate is old sampling rate divided by decimation_factor.
- data (numpy.ndarray) Data to filter.
- decimation_factor Integer decimation factor
Downsampled data (array length: old length / decimation_factor)