auto: the analysts verified the labels of 32 periods (11 stations, up to 14 days each): 710 labels -> 835, 587 unchanged; one analysis folder per period with its report (section Verification)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-17 15:13:44 +01:00
1 parent df979301b5
commit 2a5d87659b
279 files changed
+10758 -710

No files matched your search

@@ -0,0 +1,16 @@
"""Per target, median of a corr column in windows (from the summary table at native step), and the difference in noises."""
import sys, statistics as st
f, wins = sys.argv[1], [w.split('/') for w in sys.argv[2:]]
rows, hdr = [], None
for line in open(f):
p = line.split()
if p and p[0] == 'start': hdr = p[1:]; continue
if hdr and p and p[0].startswith('2026-'): rows.append((p[0], p[1:]))
def val(s):
try: return float(s.rstrip('*o'))
except ValueError: return None
for i, s in enumerate(hdr):
serie = [(t, val(v[i])) for t, v in rows if val(v[i]) is not None]
noise = st.median(abs(b[1]-a[1]) for a, b in zip(serie, serie[1:]))
meds = [st.median([x for t, x in serie if a <= t[:16]+'Z' <= b] or [float('nan')]) for a, b in wins]
print(f"{s:11s} noise {noise:.4f} " + ' '.join(f"{m:+.4f}" for m in meds) + ' d(noises): ' + ' '.join(f"{(m-meds[0])/noise:+.1f}" for m in meds[1:]))