profile_deviation — PROFILE compare op

Data kinds: pairs × pairstable

Call: import profileops; profileops.profile_deviation(measured, reference, n=200, align='chord', oversample=8) (or opsprofile.get("profile_deviation"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

設計形状からの符号つき法線方向のずれ。返りは dict。

正が「太い側(外向き)」、負が「痩せた側」。設計輪郭の外向き法線を基準にする。

Args:

measured / reference: `(N, 2)` の閉輪郭。

n: 比較に使う等弧長の点数(両方を取り直す)。

align: :data:ALIGN_MODES

oversample: 相手側を基準の何倍の密度で取り直すか(既定 8)。

折れ線が弧を切る分だけ偏差に床ができるので、相手側は細かく取る。

Returns:

dict: `points(基準側の点、(n, 2))、deviation((n,)`)、

`max / min / rms / meanalign`。

Detailed usage guide

profile_metrology family guide

References (sample data, literature)

• 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.

Runnable examples (verified samples that actually call this op)

profile_shape_inspectionpy -3.11 examples/profile_shape_inspection.py

Ops the type connects to (they accept table as input)

Same category (compare)

profile_align


*Provenance: profileops.py — PROFILE 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.