Detectors read the camera pose and the station metrics when they declare them (D-134)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-05 10:43:35 +01:00
1 parent 0e09540707
commit eb61d12b82
13 files changed
+66 -20

No files matched your search

+1 -1
View File
@@ -23,5 +23,5 @@ lot = {s: k for s, ms in mesures.items() if (k := [m for m in ms if debut - time
ts = sorted({m["t"] for ms in lot.values() for m in ms if m["t"] >= debut})
pas = [(b - a).total_seconds() / 60 for a, b in zip(ts, ts[1:])]
print(f"cadence : {statistics.median(pas):.0f} min (médiane des pas entre mesures)" if pas else "cadence : pas de mesure")
for v in (v for v in categories.evenements(lot, fin, categories.charger_temperature(a.dossier)) if v["end"] >= categories.iso(debut)) if lot else []:
for v in (v for v in categories.evenements(lot, fin, a.dossier) if v["end"] >= categories.iso(debut)) if lot else []:
print(v["start"], "→", v["end"], f"{v['category']:<20}", "|", ", ".join(sorted(v["sensors"])) or "tous les capteurs")