You can e.g. calculate the difference vector of nose - body (at a given time) and then calculate the angle in relation to e.g. the x axis of your setup (1,0). How to calculate angles in Python is discussed here:
Thanks for the answers, I’ll look into it and comment back once I’ve tried a couple of things
This makes sense and I guess I will have to implement that since the rotation of the mouse is also important to know what’s forward and what’s backward. But on its own it doesn’t give me the movement of the mouse does it ?
Thanks a lot for this link, I will look into those notebooks, they’re super handy !
I checked the one you sent but it’s focused on only point as far as I understood, the snout, while I need to focus on 2 (probably nose/body) for trajectory and direction