profile_deviation — PROFILE compare op

• 데이터 종류: pairs × pairs → table

• 호출: import 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: ALIGN_MODES.

oversample: 상대 쪽을 기준의 몇 배 밀도로 다시 샘플링할지(기본값 8).

꺾은선이 호를 자르는 만큼 편차에 바닥이 생기므로, 상대 쪽은 세밀하게 잡는다.

Returns:

dict: points(기준 쪽 점, (n, 2)), deviation((n,)),

max / min / rms / mean, align.

자세한 사용 가이드

• profile_metrology 패밀리 가이드

참고(샘플 데이터·문헌)

• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.

• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.

• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.

실행 가능한 예제(이 연산자를 실제로 호출하는 검증된 샘플)

• profile_shape_inspection — py -3.11 examples/profile_shape_inspection.py

타입이 이어지는 다음 연산자(table 를 입력으로 받는 것)

—

같은 카테고리(compare)

profile_align


*Provenance: profileops.py — PROFILE 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

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