The single reader: data.py of the tools repository (sibling ~/aimsight-tools), located once in categories.py

scripts/data.py removed; the detectors' standalone CLIs go (categories.py runs them).
Benchmark identical to the baseline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-16 15:25:01 +01:00
1 parent 908369b9e9
commit 5e9a7aa9d1
11 files changed
+16 -215

No files matched your search

+4 -2
View File
@@ -31,12 +31,14 @@ Usage: python3 scripts/categories.py <station folder> (one line per event: fam
import functools
import importlib.util
import inspect
import os
import sys
from datetime import datetime, timedelta, timezone
from pathlib import Path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) # data.py, next to it
# The detectors next to this file, and the single reader of the measurements: data.py of the tools repository, the
# sibling of this one (one copy of each repository in the home directory).
HERE = Path(__file__).resolve().parent
sys.path[:0] = [str(HERE), str(HERE.parents[1] / "aimsight-tools" / "scripts")]
from data import iso, load, load_camera, load_metrics, load_temperature # noqa: E402
# What a detector can read from the station besides the measurements, if it declares it in detect (D-124, D-134):