sdr.FIR.phase_delay(sample_rate: float = 1.0, N: int = 1024) tuple[NDArray, NDArray]

Returns the phase delay \(\tau_{\phi}(\omega)\) of the FIR filter.

Parameters:
sample_rate: float = 1.0

The sample rate \(f_s\) of the filter in samples/s.

N: int = 1024

The number of samples in the phase delay.

Returns:

  • The frequencies \(f\) from \(-f_s/2\) to \(f_s/2\) in Hz.

  • The phase delay of the FIR filter \(\tau_{\phi}(\omega)\).

Examples

See the FIR filters example.