pub fn halfband_lowpass(
num_taps: usize,
beta: f64,
) -> Result<Vec<f64>, ErrorsJSL>Expand description
A half-band low-pass of num_taps = 4k + 3 taps by the Kaiser-windowed sinc
h[n] = ½ sinc(n/2) w[n] (centred). Larger beta gives more stopband attenuation and a wider
transition (β ≈ 0.1102 (A − 8.7) for an attenuation of A dB).