careylab / LocoMouse_Dev

improving LocoMouse
0 stars 3 forks source link

Mouse orientation encoding #43

Open joaofayad opened 7 years ago

joaofayad commented 7 years ago

Converting from the user settings of left or right mouse orientation to the internal boolean that signals whether to flip or not the image should have its own deticated method. Right now it is implemented in many places independently, which can cause big problems if something needs to change.

DennisEckmeier commented 7 years ago

LocoMouse_Tracker checks the GUI settings in the beginning (MouseOrientation), which is not the best solution, since some settings (compute and LR) demand case-by-case processing anyways. We should drop that section, and instead rely on the check_the_flip() function that is being called in the loops that go through the files for tracking.