pyFDN.dss_to_impz#

pyFDN.dss_to_impz(delays, A, B, C, D, ir_len)[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. A DSS unpacks straight in: dss_to_impz(*dss, ir_len). With filters, build the td graph instead: dss_to_td(*dss, **filters).impulse_response(ir_len).

Parameters:
  • delays (ArrayLike) – Delay lengths in samples

  • A (ArrayLike) – Delay state-space matrices.

  • B (ArrayLike) – Delay state-space matrices.

  • C (ArrayLike) – Delay state-space matrices.

  • D (ArrayLike) – Delay state-space matrices.

  • ir_len (int) – Length of impulse response in samples

Returns:

impulse_response – Shape [ir_len, num_outputs, num_inputs]

Return type:

ndarray