Skip to main content

envelope

Function envelope 

pub fn envelope<'a>(
    traces: impl IntoIterator<Item = &'a [f64]>,
) -> (Vec<f64>, Vec<f64>)
Expand description

The lowest and the highest value at each sample over traces, sample by sample from their starts; where a trace is shorter than another, its end counts no further.