Feature
Refactor internal spike train manipulation functions to return neo.core.SpikeTrainList instead of neo.core.SpikeTrain objects
Motivation
Using SpikeTrainList provides a flattened representation of spike trains, which allows multiple spike trains to be stored efficiently in a single array. This could offer potential performance improvements.
Alternatives
- Only update selected functions rather all of them.
- Return optional SpikeTrainList with a flag.
Potential Affected Functions
From the surrogates module:
- dither_spike_train
- randomise_spikes
- jitter_spikes