evaluate oppoints → tableimport fullseye as fs; fs.ledger.sphere_probing_error(points, calibrated_diameter, exclude_fraction=0.003) (実装を直接呼ぶなら import acceptance3d; acceptance3d.sphere_probing_error(points, calibrated_diameter, exclude_fraction=0.003)、台帳から引くなら opsacceptance.get("sphere_probing_error"))球の点群から探針の誤差の形状 PF と寸法 PS を計算する(table)。
Probing error of form (PF) and of size (PS) from the point cloud of one calibrated sphere.
ガウスの最小二乗で半径自由の球を当て(代数解を初期値に Gauss-Newton)、半径方向の偏差が最大の点を
floor(exclude_fraction · N) 個まで除いて当て直す。pf = R_max − R_min(除外後の点の、当てた中心から
の距離の範囲)、ps = 2R − calibrated_diameter(符号つき: 大きく測れば正)。
A free-radius least-squares sphere is fitted, at most floor(exclude_fraction*N) points with the
largest radial deviation are dropped and the sphere refitted; pf is the range of radial distances,
ps the signed diameter error. Definitions as described in Carfagni et al. 2019 (doi:10.3390/s19030489)
for VDI/VDE 2634 Part 2 — the normative text is not reproduced; this is not a conformance claim.
返す dict: pf、ps、diameter、radius、center (3,)、residual_rms、n_points、
n_used、n_excluded、exclude_fraction、calibrated_diameter。単位は入力の点の単位のまま。
限界: 球冠しか見えない点群(片側から撮った球)では半径と中心が相関し、PS は雑音に敏感になる
(見えている角度が小さいほど)。residual_rms が雑音の目安。
Raises ValueError: 点が (N, 3) でない・10 点未満・非有限、同一平面上(球が定まらない)、
calibrated_diameter が正でない、exclude_fraction が [0, 0.05] の外。
table を入力に取れる)acceptance_verdict · acceptance_scan · virtual_acceptance_test · acceptance_error_budget
evaluate)sphere_spacing_error · plane_flatness_error · acceptance_verdict
Provenance: acceptance3d.py — ACCEPTANCE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.