BasisResearch / collab-creatures

Analyzing animal collaboration with Bayesian and causal inference.
4 stars 1 forks source link

add_velocity_to_foragers #72

Closed rfl-urbaniak closed 3 months ago

rfl-urbaniak commented 4 months ago

This tiny PR just adds and tests a function that adds velocities to foragers data. Note, this does not derive any predictors yes, just expands the forager data with two columns.

review-notebook-app[bot] commented 4 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

emackev commented 4 months ago

It may make sense to smooth the velocity in time, because it's currently almost all discrete (e.g. 0, 1, -1 pixels/frame). What smoothing makes sense will depend on the dataset, but something like average velocity over a 0.5 second smoothing window may be good for the birds. What do you think?

rfl-urbaniak commented 3 months ago

created a new issue to handle later. Merging for now.