pyFDN.dss_to_impz#
- pyFDN.dss_to_impz(ir_len, delays, A, B, C, D)[source]#
Compute MIMO impulse response from delay state-space (DSS) representation.
Runs one simulation per input channel (Dirac at t=0 on that channel only) and stacks the results into a single array.
- Parameters:
ir_len (int) – Length of impulse response in samples
delays (list or array) – Delay lengths in samples
A (ndarray) – Delay state-space matrices (static, numeric only). For FDNs with absorption filters use dss_to_flamo.
B (ndarray) – Delay state-space matrices (static, numeric only). For FDNs with absorption filters use dss_to_flamo.
C (ndarray) – Delay state-space matrices (static, numeric only). For FDNs with absorption filters use dss_to_flamo.
D (ndarray) – Delay state-space matrices (static, numeric only). For FDNs with absorption filters use dss_to_flamo.
- Returns:
impulse_response – Shape [ir_len, num_outputs, num_inputs]
- Return type:
ndarray