flash_frequency — DRIVE decide op

• Data kinds: signal → table

• Call: import fullseye as fs; fs.ledger.flash_frequency(intensity_series, fps, *, f_min: 'float' = 0.0, pad: 'int' = 8) -> 'Dict[str, float]' (to call the implementation directly, import drivedecide; drivedecide.flash_frequency(intensity_series, fps, *, f_min: 'float' = 0.0, pad: 'int' = 8) -> 'Dict[str, float]'; from the registry, opsdrive.get("flash_frequency"))

Usage

Estimates the flashing frequency from the brightness time series of a pixel (or the mean of a region) (the highest peak of the FFT).

> The detailed description below is the original text — the summary and the headings are translated.

平均を引き、Hann 窓をかけ、pad 倍に 0 を詰めて rFFT。f_min 以上でいちばん高い山を対数振幅の放物線で補間する。返る周波数は 見かけの 周波数(fps/2 を超える点滅は aliased_frequency の値に折り返って見える)。

返り値: frequency、bin_width = fps / n(窓の分解能の目安)、nyquist = fps/2、peak_ratio(山の高さ / 山以外の中央値。点滅していない画素は小さい)。一定の系列(振れ幅 0)は ValueError。

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_driving_crossing — py -3.11 examples/poc_driving_crossing.py

• poc_driving_decisions — py -3.11 examples/poc_driving_decisions.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 (decide)

mirror_reflection_matrix · mirror_virtual_camera · mirror_aim_normal · convex_mirror_fov · mirror_blind_zone · check_sequence_score · signal_phase_plan · signal_state


*Provenance: drivedecide.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.