Skip to main content

streamgraph_resample

Function streamgraph_resample 

Source
pub fn streamgraph_resample(raw: &[f64]) -> Vec<f64>
Expand description

Resample a non-negative series onto a shared SAMPLES grid using monotone cubic Hermite interpolation so curves never overshoot local extrema or dip below zero.