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,23 @@
|
||||
"""Quels capteurs portent reproj_err / inlier, et comptes d'inlier par instant."""
|
||||
import csv, glob, collections, sys
|
||||
fichiers = sorted(glob.glob('data/LENZSPITZE/displacement/LENZSPITZE_advanced_*.csv'))
|
||||
rep = collections.Counter(); inl = collections.Counter(); inl1 = collections.Counter()
|
||||
par_instant = collections.defaultdict(list)
|
||||
for f in fichiers:
|
||||
for r in csv.DictReader(open(f)):
|
||||
if r['time_utc'] >= '2026-11-01': continue
|
||||
s = r['sensor_name']
|
||||
if r['reproj_err']: rep[s] += 1
|
||||
if r['inlier']:
|
||||
inl[s] += 1
|
||||
if r['inlier'] in ('1', '1.0', 'True'): inl1[s] += 1
|
||||
par_instant[r['time_utc']].append((s, r['inlier'], r['reproj_err'], r['error_value']))
|
||||
print('reproj_err par capteur', dict(rep))
|
||||
print('inlier rempli', dict(inl))
|
||||
print('inlier=1', dict(inl1))
|
||||
# instants où un capteur à inlier n'est pas à 1
|
||||
n = collections.Counter(len([1 for x in v if x[1] in ('1','1.0','True')]) for v in par_instant.values())
|
||||
print('nb inliers par instant', dict(n))
|
||||
for t, v in sorted(par_instant.items()):
|
||||
k = [x[0] for x in v if x[1] not in ('1','1.0','True')]
|
||||
if k: print(t, 'non-inlier', k)
|
||||
Reference in new issue
Block a user