pyFDN.dss_to_tf#
- pyFDN.dss_to_tf(delays, A, B, C, D)[source]#
From a delay state-space (DSS) system to a transfer function matrix.
No
build_to_tfcounterpart exists: the result does not depend onfsor anFDNBuild’s filter hooks, so passbuild.delaysandbuild.A/B/C/Ddirectly.- Parameters:
delays (
ArrayLike) – Delays in samples, shape (N,).A (
ArrayLike) – Feedback matrix, shape (N, N) or (N, N, order) for polynomial matrix.B (
ArrayLike) – Input gains, shape (N, num_input).C (
ArrayLike) – Output gains, shape (num_output, N).D (
ArrayLike) – Direct gains, shape (num_output, num_input).
- Return type:
- Returns:
tfB (ndarray) – Numerator of transfer function matrix, shape (num_output, num_input, order).
tfA (ndarray) – Denominator polynomial (common), shape (order,) in z^{-1} convention.