compare oppairs × pairs → tableimport fullseye as fs; fs.ledger.profile_deviation(measured, reference, n=200, align='chord', oversample=8) (実装を直接呼ぶなら import profileops; profileops.profile_deviation(measured, reference, n=200, align='chord', oversample=8)、台帳から引くなら opsprofile.get("profile_deviation"))設計形状からの符号つき法線方向のずれ。返りは dict。
正が「太い側(外向き)」、負が「痩せた側」。設計輪郭の外向き法線を基準にする。
Args:
measured / reference: (N, 2) の閉輪郭。
n: 比較に使う等弧長の点数(両方を取り直す)。
align: :data:ALIGN_MODES。
oversample: 相手側を基準の何倍の密度で取り直すか(既定 8)。
折れ線が弧を切る分だけ偏差に床ができるので、相手側は細かく取る。
Returns:
dict: points(基準側の点、(n, 2))、deviation((n,))、
max / min / rms / mean、align。
py -3.11 examples/profile_shape_inspection.pytable を入力に取れる)—
compare)Provenance: profileops.py — PROFILE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.