pyFDN.cascaded_paraunitary_matrix#

pyFDN.cascaded_paraunitary_matrix(N, stages, *, sparsity=1.0, matrix_type='hadamard', gain_per_sample=1.0, rng=None)[source]#

Construct a paraunitary matrix and its reverse response.

rng (a Generator or an integer seed) draws the time shifts and, for matrix_type="random", the stage matrices.

Return type:

tuple[ndarray, ndarray]