This script demonstrates the effect of adaptation applied to a test
signal with and without noise.
The test signal is made of a sinosoidal ramp up and down between 0
and 1.
Clean test signal
This figure shows the effect of adaptation on the clean test signal with and
without overshoot limiting.
Noisy test signal
This figure shows the effect of adaptation on the noisy test signal
with and without overshoot limiting. Notice that in the second plot,
the initial spike at the beginning of the signal caused from the sharp
transition from complete silence to noise is magnitudes larger than
the values in the rest of the output.