Add per-row include flag to TSV; expand flies_analysis_simple narrative

- export_video_db_index.py now writes a boolean `include` column
  (default True). Flip it to False to drop a noisy/unusable row from
  analysis without deleting it.
- load_roi_data filters on `include` automatically (back-compat:
  missing column = load everything).
- flies_analysis_simple.ipynb section headers now explain *why* each
  step exists (barrier alignment, body-area baseline, merged-blob
  heuristic, Hungarian identity tracking) rather than just naming
  the step.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Giorgio Gilestro 2026-05-01 09:09:59 +01:00
parent 723d1f3682
commit 9f3ee24a23
4 changed files with 25 additions and 29 deletions

View file

@ -36,6 +36,10 @@ training_length_hr, consolidation_length_hr, memory, age`.
`"naive"` (canonical — variants like `"naïve"` and `"niave"` are normalized
at the TSV-export step).
The TSV also has a per-row boolean `include` column (default `True`).
Flip it to `False` to drop a noisy / unusable fly+session from analysis
without deleting the row. `load_roi_data` honors this flag automatically.
## Column Reference (`distances.csv`)
- `date`, `machine_name`, `ROI`, `session`: identifies one fly trajectory