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:
1 parent
df979301b5
commit
2a5d87659b
279 files changed
+10758
-710
No files matched your search
@@ -0,0 +1,21 @@
|
||||
"""rows: time of day; columns: days. usage: matrix.py <pose col|SENSOR:col> h0 h1 [scale]"""
|
||||
import sys, os; sys.path.insert(0, os.path.dirname(__file__)); import common
|
||||
from datetime import timedelta
|
||||
d = common.get(); P = d["pose"]; M = d["meas"]
|
||||
col, h0, h1 = sys.argv[1], float(sys.argv[2]), float(sys.argv[3]); k = float(sys.argv[4]) if len(sys.argv) > 4 else 1e3
|
||||
days = [common.T("2026-09-30T00:00Z") + timedelta(days=i) for i in range(14)]
|
||||
print("time " + " ".join(dd.strftime(" %d/%m ") for dd in days))
|
||||
m = int(h0 * 60)
|
||||
while m <= h1 * 60:
|
||||
row = []
|
||||
for dd in days:
|
||||
t = dd + timedelta(minutes=m)
|
||||
if ":" in col:
|
||||
s, c = col.split(":"); v = M.get(t, {}).get(s, {}).get(c)
|
||||
if s in M.get(t, {}) and M[t][s]["rej"]: row.append(" rej "); continue
|
||||
else:
|
||||
v = P.get(t, {}).get(col)
|
||||
if col == "scale" and v is not None: v -= 1
|
||||
row.append("%7.2f" % (v * k) if v is not None else " - ")
|
||||
print("%02d:%02d " % divmod(m % 1440, 60) + " ".join(row))
|
||||
m += 15
|
||||
Reference in new issue
Block a user