ELGarulli / neurokin

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

Add more robust method for speed calculation #13

Open MSchellenberger opened 6 months ago

MSchellenberger commented 6 months ago

DLC2kin has some problems with speed calculations since nan values lead to the speed being set to 0. With a basic binning based speed calculation, this can be circumvented.