profile_align — PROFILE compare op

• Data kinds: pairs × pairs → pairs

• Call: import fullseye as fs; fs.ledger.profile_align(measured, reference, mode='chord') (to call the implementation directly, import profileops; profileops.profile_align(measured, reference, mode='chord'); from the registry, opsprofile.get("profile_align"))

• Return value through the ledger: fullseye.ledger.profile_align(...) returns only the declared out type pairs (the underlying function also returns auxiliary values). When you need what was dropped, use fullseye.ledger.profile_align.raw(...) or call profileops.profile_align directly.

• Underlying return: (aligned, info) -> pairs

Usage

Aligns a measured contour to the design contour. Returns (aligned, info).

mode is one of ALIGN_MODES. Similarity (scale estimation) is not offered -- because it would absorb the size error itself (measured table in the module docstring).

Returns:

(aligned (N, 2), info). info holds mode / angle_deg /

translation / scale (always 1.0, stating explicitly that it is not estimated).

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_frame_tour — py -3.11 examples/profile_frame_tour.py

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

profile_perturb · profile_chord_frame · profile_normalise · profile_resample · profile_sides · profile_thickness · profile_camber · profile_leading_edge_radius

Same category (compare)

profile_deviation


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