sessions of 2026-11-18 (the optimization campaign; three runs without summary, interrupted and rerun)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-18 17:47:59 +01:00
1 parent 8a81c53cd9
commit 0cfbd1b7bc
363 files changed
+30822

No files matched your search

@@ -0,0 +1,14 @@
"""Lists the displacement.py jump episodes (start, end, family, sensors) between two instants, with each jump's size in noises. Args: <detectors> <station folder> <from day> <to day> <iso start> <iso end>"""
import sys
from datetime import datetime, timedelta, timezone
from pathlib import Path
det = Path(sys.argv[1]).resolve()
sys.path[:0] = [str(det / "scripts"), str(det.parents[0] / "aimsight-tools" / "scripts")]
from data import load # noqa
import displacement as D # noqa
day = lambda d: datetime.strptime(d, "%Y-%m-%d").replace(tzinfo=timezone.utc)
a, b = day(sys.argv[3]) - timedelta(days=3), day(sys.argv[4])
ms = {s: [m for m in v if a <= m["t"] < b] for s, v in load(sys.argv[2]).items()}
for e in D.jumps(ms):
if sys.argv[5] <= e["start"] <= sys.argv[6]:
print(e["start"], e["end"], e["kind"], len(e["sensors"]), ",".join(e["sensors"][:6]))