pub fn sample_entropy(data: &Array1<f64>, m: usize, r: f64) -> Result<f64>
Sample entropy - improved version of approximate entropy