Skip to main content

earth_movers_distance

Function earth_movers_distance 

Source
pub fn earth_movers_distance(
    times_a: &[f64],
    times_b: &[f64],
    t_start: f64,
    t_end: f64,
    n_bins: usize,
) -> f64
Expand description

Earth mover’s distance between spike time distributions (Rubner et al. 1998).