lisa.datautils: Remove bias in series_envelope_mean()
Remove portions of constant signal before taking the envelope, to avoid getting some points as both part of the local maxima and minima.
Remove portions of constant signal before taking the envelope, to avoid getting some points as both part of the local maxima and minima.