pyFDN.MatchMagnitude#
- class pyFDN.MatchMagnitude(target, *, channels='none')[source]#
Mean squared error of \(|H|\) against a reference impulse response.
The magnitude-only sibling of
MatchImpulseResponse: fits the spectral envelope while ignoring phase.Methods
__init__(target, *[, channels])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.