How ktt920/easygait works
EasyGait is a single-file desktop tool for manually measuring mouse gait from video. The analyst selects a recording, calibrates pixel scale, marks right and left hind-paw positions while navigating video frames, and receives calculated gait metrics saved as tabular output. The same source also provides coordinate and trajectory snapshot saving. The sampled excerpts show the workflow and calculations, but omit some intervening code, so uncertain UI wiring and output details are not expanded.
Main entry points: EasyGait.py EasyGait main
Components 11
Analysis workflow
- EasyGait main
EasyGait.py - Video recording
- Video navigation
EasyGait.py
Gait measurement
- Scale calibration
EasyGait.py - Paw marking
EasyGait.py - Gait metrics
EasyGait.py
Results and export
- Metrics CSV
- Coordinate export
EasyGait.py - Trajectory snapshot
EasyGait.py - Output files
Other components
- Analyst
Connections 11
- Analyst → EasyGait main: runs
- EasyGait main → Video recording: selects
- EasyGait main → Video navigation: plays frames
- EasyGait main → Scale calibration: calibrates
- EasyGait main → Paw marking: records points
- Paw marking → Gait metrics: provides coordinates
- Gait metrics → Metrics CSV: writes metrics
- EasyGait main → Coordinate export: saves coordinates
- EasyGait main → Trajectory snapshot: saves snapshot
- Coordinate export → Output files: writes
- Trajectory snapshot → Output files: writes