pyFDN.process_dss#

pyFDN.process_dss(delays, A, B, C, D, signal)[source]#

Process a signal through a delay state-space system.

One-shot form of dss_to_td(...).process_signal(signal): a fresh pyFDN.td graph is built for every call. The system comes first, as in pyFDN.dss_to_impz() and scipy.signal.lfilter(), so a DSS unpacks straight in: process_dss(*dss, x). With filters, build the graph: dss_to_td(*dss, **filters).process_signal(x, squeeze=True).

Parameters:
  • delays (ArrayLike) – Positive delay lengths in samples, shape (N,).

  • A (ArrayLike) – Feedback, input, output, and direct gain matrices.

  • B (ArrayLike) – Feedback, input, output, and direct gain matrices.

  • C (ArrayLike) – Feedback, input, output, and direct gain matrices.

  • D (ArrayLike) – Feedback, input, output, and direct gain matrices.

  • signal (ArrayLike) – Input of shape (num_samples,) or (num_samples, num_inputs).

Returns:

Processed signal with singleton dimensions removed.

Return type:

ndarray