pyFDN.process_fdn#

pyFDN.process_fdn(input_signal, build)[source]#

Process a signal through a fresh time-domain graph built from build.

This is the one-shot convenience form of build_to_td(build).process_signal(input_signal). A fresh graph is built for every call, so delay and filter state cannot leak between independent renders. Use pyFDN.build_to_td() directly to process a stream over multiple calls to pyFDN.td.TimeOperator.process_block() or to reset and reuse the graph.

Parameters:
  • input_signal (ArrayLike) – Input of shape (num_samples,) or (num_samples, num_inputs).

  • build (FDNBuild) – Complete baked FDN configuration.

Returns:

Processed signal with singleton dimensions removed, matching the historical process_fdn output convention.

Return type:

ndarray