NeuralAnalysis / PyalData

Repository for the Python implementation of the TrialData analysis library.
GNU General Public License v3.0
7 stars 9 forks source link

Add get_movement_onset (and get_on_idx) function(s) #94

Closed bagibence closed 3 years ago

bagibence commented 3 years ago

Using scipy is a tiny bit faster than the method borrowed from TrialData, but they give the same result.

In some data sets there are trials where this doesn't give exactly the same answer as the saved idx_movement_on fields. I assume they were exported with different settings.

Fixes #12