-
sdr.FarrowResampler(order: int, alpha: float =
0.5
, streaming: bool =False
) Creates a new Farrow arbitrary resampler.
- Parameters:¶
- order: int¶
The order \(p\) of the Lagrange interpolating polynomial.
- alpha: float =
0.5
¶ A free design parameter \(0 \le \alpha \le 1\) that controls the shape of a 2nd order filter. This ensures that the filter has an even number of taps and is linear phase. The default value is \(\alpha = 0.5\), which is a good compromise between performance and fixed-point computational complexity. It was found through simulation that \(\alpha = 0.43\) is optimal for BPSK using a square root raised cosine filter with 100% excess bandwidth.
- streaming: bool =
False
¶ Indicates whether to use streaming mode. In streaming mode, previous inputs are preserved between calls to
__call__()
.
Examples¶
See the Farrow arbitrary resampler example.