pyFDN.MatchEnvelope#
- class pyFDN.MatchEnvelope(target, *, release_time=0.00028, p=2.0)[source]#
Normalized \(L^p\) error of the smoothed peak envelope.
\(\overline{|e - \hat e|^p} / \overline{|\hat e|^p}\) between the envelopes of prediction and reference, where the envelope is a fast peak follower on \(h^2\), zero-phase low-passed. Sees the arrival and level of individual reflections that an energy decay integrates away. See
PeakEnvelope.Contributed by Riccardo Giampiccolo.
- Parameters:
Methods
__init__(target, *[, release_time, p])check(model)Preflight against the model it will train, before the first step.
terms()Flatten into
(weight, loss)leaves.Attributes
nameShort label, used as the key in
pyFDN.TrainLog.loss_log.