rockpool.devices.xylo.syns65302.transform.normalizer

Implements AmplitudeNormalizer, a robust signal normalization block used by AFESim3

Classes

AmplitudeNormalizer(*args, **kwargs)

Robust amplitude normalizer. To find the robust amplitude of the signal, we first sort the absolute value of the signal: X_sorted[0] <= X_sorted[1] <= ... <= X_sorted[N -1]. And we assume the percentage of the outlier p: 0.0 <= p <= 0.5 Then the robust amplitude is defined as: A_robust = X_sorted[(N-1)(1-p)].