profile_deviation — PROFILE compare op

• Data kinds: pairs × pairs → table

• Call: import fullseye as fs; fs.ledger.profile_deviation(measured, reference, n=200, align='chord', oversample=8) (implementation को सीधे call करना हो तो import profileops; profileops.profile_deviation(measured, reference, n=200, align='chord', oversample=8), registry से लेना हो तो opsprofile.get("profile_deviation"))

उपयोग

design shape से normal दिशा में sign सहित विचलन। dict लौटाता है।

धनात्मक का अर्थ "मोटी ओर (बाहर की ओर)", ऋणात्मक का "पतली ओर"। design contour का बाहरी normal आधार है।

Args:

measured / reference: (N, 2) के closed contour।

n: तुलना में इस्तेमाल होने वाले समान arc length के points की संख्या (दोनों को दोबारा sample किया जाता है)।

align: ALIGN_MODES।

oversample: दूसरी ओर को reference से कितने गुना घनत्व पर दोबारा sample करें (default 8)।

polyline जितना arc को काटती है उतना deviation में एक floor बनता है, इसलिए दूसरी ओर को बारीक लें।

Returns:

dict: points (reference ओर के points, (n, 2)), deviation ((n,)),

max / min / rms / mean, align।

उपयोग की विस्तृत guide

• profile_metrology family guide

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• profile_shape_inspection — py -3.11 examples/profile_shape_inspection.py

वे अगले ops जिनसे type जुड़ता है (table को input के रूप में लेते हैं)

—

इसी category के (compare)

profile_align


*Provenance: profileops.py — PROFILE operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.