spiral_expected_tries — DRIVE pegsym op

• Data kinds: matrix × scalar × scalar → table

• Call: import fullseye as fs; fs.ledger.spiral_expected_tries(points, capture: 'float', rho: 'float', grid: 'int' = 161) -> 'dict' (to call the implementation directly, import pegsym; pegsym.spiral_expected_tries(points, capture: 'float', rho: 'float', grid: 'int' = 161) -> 'dict'; from the registry, opsdrive.get("spiral_expected_tries"))

Usage

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

横ずれが半径 `rho の円板に一様のとき、点列 points を順に試して初めて(距離 ≤ capture`)捕まえるまでの期待試行回数。

`measured = 円板内の格子(grid × grid、円の外は捨てる)の平均。closed` = 掃いた面積の近似: k 点で面積 k·p·s を掃くので、半径 r に

達するのは k = πr²/(ps)、r が円板に一様なら E = πρ²/(2ps) + 1/2(p・s は点列から推定: s = 隣の点の距離の中央値、p = 外周の点の半径の

巻きあたりの増分)。どの点でも捕まらない格子点があれば `uncovered` > 0(覆いの穴)。

Raises ValueError: 点が (N ≥ 3, 2) でない、capture・rho ≤ 0、grid < 11。

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)

• poc_peg_symmetry_search — py -3.11 examples/poc_peg_symmetry_search.py

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

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

Same category (pegsym)

polygon_peg · polygon_offset · polygon_fit_check · rotation_window · polygon_two_point_depth · polygon_coverage_image · plane_topview · polygon_yaw_read


*Provenance: pegsym.py — DRIVE 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.