search_expected_tries — DRIVE pegsym op

• Data kinds: scalar × scalar → table

• Call: import fullseye as fs; fs.ledger.search_expected_tries(n_sym: 'int', phi_cap: 'float', order: 'str' = 'alternate', estimate_sigma: 'float | None' = None) -> 'dict' (implementation को सीधे call करना हो तो import pegsym; pegsym.search_expected_tries(n_sym: 'int', phi_cap: 'float', order: 'str' = 'alternate', estimate_sigma: 'float | None' = None) -> 'dict', registry से लेना हो तो opsdrive.get("search_expected_tries"))

उपयोग

rotation search के प्रयासों की अपेक्षित संख्या (exact, जब अज्ञात दिशा की त्रुटि e 1 period पर uniform हो)। candidate c_k (rotation_search_plan) के साथ k-वाँ प्रयास तब सफल होता है जब e पहली बार [c_k − φ, c_k + φ] (period P) में आता है, इसलिए E = Σ_k (1 − |∪_{i<k} I_i|/P)। गणना अंतराल के छोरों पर वृत्त को बाँटती है और हर छोटे अंतराल के लिए उसे सबसे पहले ढकने वाले candidate का क्रमांक गिनती है (वही मान, O(M²) vector operation)। step ठीक 2φ हो तो E = (M + 1)/2 (closed)। symmetry न जानने वाले search (period 2π, M₁ = ⌈π/φ⌉) से अनुपात ratio_vs_blind → 1/n। estimate_sigma [rad] देने पर e को अनुमान के चारों ओर standard deviation σ वाला normal (period पर लपेटा हुआ) माना जाता है, और "alternate" क्रम में अपेक्षित संख्या भी लौटाई जाती है (expected_with_estimate, 4,096 point का numerical integration)। expected, closed, M, blind_expected और ratio_vs_blind लौटाता है। Raises ValueError: n_sym < 1, phi_cap ≤ 0, sigma ≤ 0।

संदर्भ (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 करते हैं)

• poc_peg_symmetry_search — py -3.11 examples/poc_peg_symmetry_search.py

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

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_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. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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