Expand description
Streaming rational-ratio resampling by polyphase filtering.
See the book entry Resampling: polyphase, half-band and CIC filters.
Structs§
- Polyphase
Integer Resampler - Streaming rational-ratio polyphase resampler: upsample by
up_rate, low-pass filter, keep everydown_rate-th sample (up_rate / down_rateis reduced to lowest terms). The output equals SciPy’supfirdn(up · h, x, up, down), the core ofresample_poly, and arrives as soon as the inputs it needs have;flushemits the rest of the filter’s tail. Without explicit taps a Kaiser-window low-pass filter with cutoff1 / max(up, down)of Nyquist and 60 dB attenuation is designed.