pub fn shape(cycle: &[f64]) -> Option<Shape>Expand description
Reads the shape of a folded cycle, or None for a flat one.
It is square-like when the plateau holds 35 % of the cycle, a ramp up when the rise takes 75 % or more, a ramp down when it takes 25 % or less, else smooth and symmetric. These thresholds are proposals.