Skip to main content

circmean

Function circmean 

Source
pub fn circmean(angles: &[f64], low: f64, high: f64) -> Result<f64, ErrorsJSL>
Expand description

The circular mean of angles with period high − low (SciPy’s circmean; use 0 and 2π for radians): the direction of the mean resultant vector, mapped into [low, high).