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 freshpyFDN.tdgraph is built for every call. The system comes first, as inpyFDN.dss_to_impz()andscipy.signal.lfilter(), so aDSSunpacks 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: