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()asdecomposition=....Supported architecture (see
flamo_to_pr()for the full contract): branchA must contain exactly one, non-nestedRecursion, 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; aRecursionnested inside another loop is not supported.- Return type: