pub fn resample_uniform(x: &[f64], y: &[f64], step: f64) -> Vec<f64>Expand description
The waveform read onto a uniform grid of step, spanning what it covers.
The grid starts at x[0] and takes as many steps as fit inside the sampled
span, so the answer is a uniformly sampled copy of the same waveform. A
non-positive step, or an empty run, resamples to nothing.