BGlib.gmode.proc.fft.down_sample¶
- BGlib.gmode.proc.fft.down_sample(fft_vec, freq_ratio)[source]¶
Downsamples the provided data vector
- Parameters:
fft_vec (1D complex numpy array) – Waveform that is already FFT shifted
freq_ratio (float) – new sampling rate / old sampling rate (less than 1)
- Returns:
fft_vec – downsampled waveform
- Return type:
1D numpy array