pub fn spike_times(binary_train: &[i32], dt: f64) -> Vec<f64>
Extract spike times (seconds) from a binary 0/1 array.