- Every station's auto labels reviewed by an analyst (/review-auto-labels), then a cross-review per family across all stations (new skill /cross-review-labels), a finishing pass, and descriptions rewritten in words (no numeric values). - The three never-labeled ranges (WILDSTRUBEL 07/09-01/10, NORDEND 16/08-01/10) labeled and reviewed: 991 auto labels on 11 stations, labeling/controle.py at 0 errors. - Labeling knowledge gathered in labeling/: regles-d-etiquetage.md (new), familles.md (settled boundaries), connaissances/ (notes moved from docs/, links updated), the label map rebuilt from reviewed labels, events and cases; events tied to their stations (PS_DES_COUDRES is JUNGFRAU). The labeler and reviewers read only labeling/. - labels-map reads auto labels and events; decision D-130; living plan points 73-75. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
905 B
Python
13 lines
905 B
Python
"""Tilt de WILDSTRUBEL : niveau de la nuit d'avant (00:00-03:00, médiane) et tilt médian par demi-heure de 11:00 à 16:30,
|
|
écart en bruits (médiane des écarts entre deux recalages de la nuit). Usage, depuis la racine : python3 <ce fichier> JOUR..."""
|
|
import sys, statistics as st
|
|
sys.path.insert(0, "agent-tools")
|
|
from donnees import charger_camera, instant # noqa: E402
|
|
C = charger_camera("data/WILDSTRUBEL")
|
|
for j in sys.argv[1:]:
|
|
nuit = [p["tilt"] for p in C if instant(j + "T00:00Z") <= p["t"] <= instant(j + "T03:00Z") and p["tilt"] is not None]
|
|
n0 = st.median(nuit); bz = st.median(abs(a - b) for a, b in zip(nuit, nuit[1:])) or 1e-9
|
|
print(f"{j} nuit {n0:.4f} bruit {bz:.4f}")
|
|
jour = [p for p in C if instant(j + "T11:00Z") <= p["t"] <= instant(j + "T16:30Z") and p["tilt"] is not None]
|
|
print(" " + " ".join(f"{p['t']:%H:%M} {(p['tilt'] - n0) / bz:+.0f}" for p in jour))
|