pub fn tokenise_spikes(trains: &[&[i32]], dt: f64) -> Vec<SpikeToken> ⓘExpand description
Convert binary spike trains to sorted (unit_id, timestamp) tokens.
Azabou et al. (2023), NeurIPS; Ryoo et al. (2025), ICLR. Each spike in each train produces one token. Tokens are sorted by time.