DATA.md: what the data are, from labeling/knowledge (formats, columns, quality metrics, images)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f28bd19e04
commit
4bfbad4db8
7 files changed
+73
-12
No files matched your search
+2
-2
@@ -8,7 +8,7 @@ Usage: python3 tools/scripts/quality.py <folder> [--start T] [--end T] [--sensor
|
||||
[--metrics flux,snr,dominance] [--labels F] [--zone T1/T2 ...] [--out D]
|
||||
python3 tools/scripts/quality.py --self-test (check of the ratio computation)
|
||||
|
||||
Definitions: labeling/knowledge/quality-metrics.md. Columns filled on recent cameras only; on a folder where
|
||||
Definitions: tools/DATA.md. Columns filled on recent cameras only; on a folder where
|
||||
they are empty, the tool says so and stops.
|
||||
Reference of a sensor: the median of each metric over its measurements in the --calm windows, at the same UTC hour of the day
|
||||
(24 slots; a slot without a calm measurement takes the median of all calm hours). Without --calm: the whole folder.
|
||||
@@ -374,7 +374,7 @@ def main():
|
||||
sys.exit(f"No \"advanced\" export in {a.folder} (see inventory.py).")
|
||||
if not any(m[c] is not None for ms in every.values() for m in ms for c in METRICS):
|
||||
sys.exit(f"No quality metrics in {a.folder}: peak to snr empty (old camera; "
|
||||
"labeling/knowledge/quality-metrics.md).")
|
||||
"tools/DATA.md).")
|
||||
names = a.sensors.split(",") if a.sensors else sorted(every, key=lambda s: (not data.is_reference(every[s]), s))
|
||||
missing = [s for s in names if s not in every]
|
||||
if missing:
|
||||
|
||||
Reference in new issue
Block a user