Skip to main content

resample_count

Function resample_count 

Source
pub fn resample_count(values: &[f64], count: usize) -> Vec<f64>
Expand description

The run stretched or squeezed to exactly count samples.

Index space, with no axis at all: the first and last samples are preserved and everything between is interpolated evenly. This is the reading a characterization curve wants, where the samples are ordered but the coordinate they sit on is nobody’s business.