cupido/scripts
Giorgio Gilestro 847d2cbd1b Merge 2025-07-15 batch into the xlsx; tools to detect & re-track
- 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>
2026-05-01 10:28:25 +01:00
..
__init__.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
analyze_distances.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
auto_detect_targets.py Remove hardcoded /home/gg paths so the project is portable 2026-05-01 08:55:44 +01:00
build_video_inventory.py Remove data/raw/ entirely — all bulky data now under /mnt/data/projects/cupido/ 2026-05-01 09:20:25 +01:00
calculate_distances.py Unify analysis pipeline around the TSV; move tracked DBs out of cloud sync 2026-04-30 15:20:14 +01:00
config.py Remove data/raw/ entirely — all bulky data now under /mnt/data/projects/cupido/ 2026-05-01 09:20:25 +01:00
detect_barrier_opening.py Merge 2025-07-15 batch into the xlsx; tools to detect & re-track 2026-05-01 10:28:25 +01:00
explore_barrier_signal.py Merge 2025-07-15 batch into the xlsx; tools to detect & re-track 2026-05-01 10:28:25 +01:00
export_video_db_index.py Add per-row include flag to TSV; expand flies_analysis_simple narrative 2026-05-01 09:09:59 +01:00
load_roi_data.py Make load_roi_data progress bar refresh reliably in JupyterLab 2026-05-01 09:43:12 +01:00
merge_2025_07_15_into_xlsx.py Merge 2025-07-15 batch into the xlsx; tools to detect & re-track 2026-05-01 10:28:25 +01:00
ml_classification.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
monitor_tracking.py Unify analysis pipeline around the TSV; move tracked DBs out of cloud sync 2026-04-30 15:20:14 +01:00
pick_targets.py Merge 2025-07-15 batch into the xlsx; tools to detect & re-track 2026-05-01 10:28:25 +01:00
plot_avg_distance_aligned.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
plot_avg_distance_first_200s.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
plot_avg_distance_over_time.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
plot_distance_over_time.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
statistical_tests.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
track_videos.py Remove hardcoded /home/gg paths so the project is portable 2026-05-01 08:55:44 +01:00
tracking_geometry.py Add offline tracking pipeline for video backlog 2026-04-27 17:25:26 +01:00