ELGarulli / neurokin

correlation between neural and kinematics, basic visualization and analysis methods, kinematic features extraction
5 stars 4 forks source link

7 samples before stim should be subtracted #8

Closed ELGarulli closed 9 months ago

ELGarulli commented 9 months ago

fixing counterintuitive samples before stim subtraction. Add extra check for the first index, in case after subtraction it becomes less than 0