scale op• Data kinds: table → table
• Call: import fullseye as fs; fs.ledger.table_px_to_mm(table, mm_per_px, keys=('width', 'radius', 'dist', 'rms', 'ra', 'rb', 'l1', 'l2')) (to call the implementation directly, import measuring1d; measuring1d.table_px_to_mm(table, mm_per_px, keys=('width', 'radius', 'dist', 'rms', 'ra', 'rb', 'l1', 'l2')); from the registry, opsmeasure1d.get("table_px_to_mm"))
Adds mm columns to a measurement table (the return of measure_pairs / apply_metrology_model).
For every numeric column k listed in keys it adds k_mm = k * mm_per_px (the px columns stay — removing them would cut the provenance). Each row of apply_metrology_model holds radius / l1 … inside a params dict, so that is converted too. The input is a list[dict] or a single dict; a shallow copy is returned and the input is not modified.
• Non-numeric or missing columns are skipped silently (whether a column was converted shows as the presence of k_mm).
• mm_per_px must be finite and positive (the value from mm_per_px_from_reference).
• rms is the fit residual [px]; in mm it compares directly with a tolerance.
• An empty table ([] / {}) raises ValueError (so that "no row at all" is not hidden behind the conversion).
• subpixel_measuring family guide
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
• example_inner_diameter_mm — py -3.11 examples/example_inner_diameter_mm.py
• example_scratch_width — py -3.11 examples/example_scratch_width.py
table as input)—
scale)mm_per_px_from_reference · pixel_to_world
*Provenance: measuring1d.py — MEASURE1D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.