Loading StimVector and SpeedVector into the EP_FILES struct (in getDataFromDir).
In AG_slice_EP_variables: Currently the code assumes that we have 1000 Stim samples per frame. After checking it appears that it samples 1000 times per second.
Make sure that the time that passes between subsequent stimuli is indeed at least 15 secs and change the way it marks the ResponseWindow.
Classify frames to run and stand frames (lines 70-80) in AG_slice_EP_variables.
Main unsolved issues with the current pipeline:
StimVector
andSpeedVector
into the EP_FILES struct (ingetDataFromDir
).AG_slice_EP_variables
: Currently the code assumes that we have 1000Stim
samples per frame. After checking it appears that it samples 1000 times per second.ResponseWindow
.AG_slice_EP_variables
.