event detection

using peak det, can get all spikes. need to rewrite the outputs so it
exports the spike to spike numbers for each time series.

#21373897041467