pyFDN.flamo_to_impz#

pyFDN.flamo_to_impz(model)[source]#

Impulse response of a FLAMO model, shape (nfft, out, in).

One Dirac per input channel, as pyFDN.dss_to_impz() and pyFDN.td.TimeOperator.impulse_response() return it, so the three renders compare directly. The array is detached from any autograd graph and moved to CPU memory. FLAMO renders circularly, so the response wraps around after nfft samples.

Training uses pyFDN.model_response() instead, the same response as a torch tensor that keeps its gradients.

Return type:

ndarray