- merge_2025_07_15_into_xlsx.py: pivot the legacy 2025_07_15_metadata_fixed.csv
into the unified xlsx schema (one row per fly, training_date_time +
testing_date_time). Backs up the xlsx before writing. 24 new rows
across machines 076 / 139 / 145 / 268.
- pick_targets.py: --video flag to bypass the inventory's in_xlsx filter,
so a specific mp4 can be picked outside the normal flow.
- explore_barrier_signal.py: visualises raw y(t), per-frame inter-fly
distance, and sliding min/mean distance against a known
barrier-opening time. Used for prototyping the detector.
- detect_barrier_opening.py: per-ROI sliding-window mean-distance
change-point estimator (median across ROIs). Currently noisy on a
one-video calibration set; will be re-tuned once the 4 missing
2025-07-15 videos are re-tracked.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>