crossing op• Data kinds: signal × signal → table
• Call: import fullseye as fs; fs.ledger.lamp_pair_phase(a, b, fps: 'float', *, f_min: 'float' = 0.0, pad: 'int' = 8, tol: 'float' = 0.25) -> 'Dict[str, object]' (to call the implementation directly, import drivecrossing; drivecrossing.lamp_pair_phase(a, b, fps: 'float', *, f_min: 'float' = 0.0, pad: 'int' = 8, tol: 'float' = 0.25) -> 'Dict[str, object]'; from the registry, opsdrive.get("lamp_pair_phase"))
Estimates the common blinking frequency and the phase difference from 2 brightness time series (pixels of the 2 lamps) via the cross-spectrum.
> The detailed description below is the original text — the summary and the headings are translated.
平均を引き Hann 窓、pad 倍に 0 を詰めた rFFT。|A| + |B| の山(f_min 以上、0 Hz の裾を除く)で φ = arg(A_k B̄_k) を [0, π] に畳む。delay = φ / (2π f)。alternating = |φ − π| < tol(交互点滅)。周波数は 見かけ の値(fps/2 を超える点滅は折り返る)。どちらかが一定なら ValueError。
• 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.
• poc_driving_crossing — py -3.11 examples/poc_driving_crossing.py
table as input)course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same
crossing)crossing_timing_check · crossing_gate_state · crossing_lamp_signal · crossing_clear_time · exit_room_check · crossing_stop_check · track_sight_distance · sight_triangle_distance
*Provenance: drivecrossing.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.