pyFDN.pole_boundaries#

pyFDN.pole_boundaries(delays, A, fs, *, post_delay, nfft=4096)[source]#

Upper and lower bounds of the pole magnitudes of an FDN loop.

Combines the singular values of the feedback matrix with the magnitude and group delay of the per-line absorption filters.

Parameters:
  • delays (ArrayLike) – Delays in samples, shape (N,).

  • A (ArrayLike) – Feedback matrix (N, N), or the FIR matrix (N, N, L) in the z^{-1} convention that sits on the feedback path.

  • fs (float) – Sampling frequency in Hz.

  • post_delay (ArrayLike) – Per-line absorption, the post_delay filter hook as an SOS bank of shape (sections, 6, N).

  • nfft (int) – Number of frequency bins between 0 and Nyquist.

Returns:

min_curve: Lower bound of the pole magnitude, shape (nfft,). max_curve: Upper bound of the pole magnitude, shape (nfft,). f: Frequency points in Hz, shape (nfft,).

Return type:

tuple[ndarray, ndarray, ndarray]