exit op• Data kinds: pairs → measurement
• Call: import fullseye as fs; fs.ledger.pairs_peak_x(pairs, x_min=None, x_max=None) (to call the implementation directly, import reprconv; reprconv.pairs_peak_x(pairs, x_min=None, x_max=None); from the registry, opsreprconv.get("pairs_peak_x"))
• GPU: none (CPU reference implementation only)
Pairs pairs (x, y) → the x where y peaks (parabolic interpolation between samples) measurement.
> The detailed description below is the original text — the summary and the headings are translated.
spectrum の (freqs, magnitude) から主周波数、surface_psd の (周波数, PSD) から卓越波長の逆数を読む、のように 対の列のピークの位置を返す。最大の標本と両隣の 3 点に放物線を当て、頂点の x を返す(端の標本が最大のときは補間せずその x)。補間の偏りは窓しだい: 窓を掛けない(矩形)正弦波の振幅スペクトルでは最大 0.25 bin ほど(実測 1 Hz 刻みで 123.4 Hz → 123.18、123.25 → 123.05、整数と半整数の周波数では 1e-2 bin 以下)。細かく要るなら窓を掛けた信号か peak_subbin を使う。x_min / x_max で探す範囲を切る —— スペクトルでは DC(x = 0)が最大になりやすいので、主周波数を探すなら x_min を 0 より大きくする。y の同点は最初の標本。
Args:
pairs: (n, 2) か 2-tuple の (x, y)。x は昇順。
x_min, x_max: 探す x の範囲(含む)。None で端まで。
Returns:
float(ピークの x)。
Raises:
ValueError: 対でない / x が昇順でない / 範囲に標本が無い / 非有限。
• 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.
• type_connectivity_tour — py -3.11 examples/type_connectivity_tour.py
measurement as input)—
exit)tokens_to_matrix · pose_to_matrix
*Provenance: reprconv.py — REPRCONV 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.