pyFDN.flamo_decompose_for_pr#

pyFDN.flamo_decompose_for_pr(model)[source]#

Decompose a FLAMO model into the subgraphs needed for poles/residues.

Expects core with branchA (Series of input_gain, Recursion(feedforward, feedback), output_gain) and branchB (direct path). Returns small FLAMO subgraphs (no probing); pass the result to flamo_to_pr() as decomposition=....

Supported architecture (see flamo_to_pr() for the full contract): branchA must contain exactly one, non-nested Recursion, and the delay lines must live in that recursion’s feedforward path. SOS-format filters (incl. biquad/SVF cascades) anywhere in the feedforward/feedback are fine; a Recursion nested inside another loop is not supported.

Return type:

FlamoDecompositionForPR