Etiqueteur: October labels for 8 stations; its folder moves to labeling/auto/etiqueteur/, analyses and scripts versioned (D-126)
Labels for CLARIDEN, FLORIDA, JUNGFRAU (gaps 06-20.10, 26.10-01.11), LENZSPITZE, NIEDERHORN, NORDEND, SNCF01, WILDSTRUBEL. Figures and tool outputs stay out of git. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2bba388290
commit
6fbd7510b7
112 files changed
+8951
-6
No files matched your search
@@ -0,0 +1,20 @@
|
||||
"""Médianes par 12 h des corr des cibles qui dérivent et de la pose."""
|
||||
import csv, glob, statistics as st
|
||||
D="data/BREITHORN"; S=["COLH20","COLI20","COLI21","COLJ19","POUI19","POUI20","COLI24","COLH20'''"]
|
||||
v={}
|
||||
for f in sorted(glob.glob(f"{D}/displacement/*.csv")):
|
||||
for r in csv.DictReader(open(f)):
|
||||
if r["sensor_name"] in S and float(r["error_value"])<=float(r["error_threshold"]):
|
||||
k=r["time_utc"][:10]+("a" if r["time_utc"][11:13]<"12" else "b")
|
||||
v.setdefault(k,{}).setdefault(r["sensor_name"],[]).append((float(r["corr_x"]),float(r["corr_y"])))
|
||||
c={}
|
||||
for f in sorted(glob.glob(f"{D}/camera/*.csv")):
|
||||
for r in csv.DictReader(open(f)):
|
||||
k=r["time_utc"][:10]+("a" if r["time_utc"][11:13]<"12" else "b")
|
||||
c.setdefault(k,[]).append((float(r["median_pan"]),float(r["median_tilt"]),float(r["median_rotation"])))
|
||||
print("demi-jour tilt rot pan | corr_x: "+" ".join(f"{s[:7]:>7}" for s in S)+" | corr_y COLI24")
|
||||
for k in sorted(v):
|
||||
if k>"2026-11-01": break
|
||||
p=[st.median(z[i] for z in c[k]) for i in range(3)]
|
||||
print(k,f"{p[1]:.4f} {p[2]:.4f} {p[0]:.4f} |",*(f"{st.median(z[0] for z in v[k][s]):+.3f}" if s in v[k] else " - " for s in S),
|
||||
"|",f"{st.median(z[1] for z in v[k]['COLI24']):+.3f}" if "COLI24" in v[k] else "-")
|
||||
Reference in new issue
Block a user