torchsig.utils.dsp.polyphase_decimator¶
- torchsig.utils.dsp.polyphase_decimator(input_signal: ndarray, decimation_rate: int) ndarray[source]¶
Integer-rate polyphase filterbank-based decimation
- Parameters:
input_signal (np.ndarray) – Input signal to be decimated
decimation_rate (int) – The decimation rate
- Raises:
ValueError – Throws an error if the right number of samples are not produced
- Returns:
Decimated output signal
- Return type:
np.ndarray