Conversation
In posDf: `dx` -> `dx_ft`, `dy` -> `dy_ft`, `dxattempt` -> `dxattempt_ft`, `dyattempt` -> `dyattempt_ft`; in ftDf: `dx` -> `wx_ft`, `dy` -> `wy_ft`, `dz` -> `wz_ft`
…es are computed Adopts the convention that dx, dy are changes in allocentric x and y. dx_ft and dy_ft are changes in egocentric forward and rightward directions
|
I need a few more clarifications:
Here the new variables
I don't understand what the "w" is supposed to denote here? Another, more general comment, is that because you can change the way you define the x/y/z axis in fictrac, there is no set definition of which axis in fictrac corresponds to which world space. I think it's dangerous to imply this here. On fictrac side the definition depends on the settings in the config file/process (c2a_cnrs_xy etc) and how the square is drawn. On the unity side, the definition depends on how the functions I will need to go through the reasoning again carefully, but I think we went with a different x/y/z convention for the fictrac setting compared to what is recommended because it was come conveninent with the unity coordinate definition. |
This adopts the new convention where
dxanddyare the changes in unity x and y ("allocentric coordinates"). Previously calleddx,dyare now renameddx_ftanddy_ftto reflect that these are changes in forward and rightward directions respectively. Further, in ftDf, we keep exactly the same conventions as fictrac wherewx_ftrefers to leftward movement,wy_ftrefers to forward movement andwz_ftrefers to leftward rotation of the animal on the ball. posAnalysis is modified to reflect these changes. We also modify how vR and vT are computed and filtered.