pyFDN.is_paraunitary#
- pyFDN.is_paraunitary(matrix, tol=1e-09)[source]#
Test whether an FIR matrix is paraunitary (lossless).
For a real FIR matrix H(t), checks that sum_t H(t) H(t)’ = I (output correlation) and sum_t H(t)’ H(t) = I (input correlation).
- Parameters:
matrix (
ArrayLike) – FIR matrix in the z^{-1} convention, the layout of every filter matrix in pyFDN. An impulse response frompyFDN.dss_to_impz()is(ir_len, n_out, n_in); passir.transpose(1, 2, 0).tol (
float) – Tolerance for identity check.
- Returns:
True if both correlation matrices are the identity within
tol.- Return type: