indices_to_positions — REPRCONV entry op

• Data kinds: indices → positions

• Call: import fullseye as fs; fs.ledger.indices_to_positions(indices, spacing=1.0, origin=0.0) (to call the implementation directly, import reprconv; reprconv.indices_to_positions(indices, spacing=1.0, origin=0.0); from the registry, opsreprconv.get("indices_to_positions"))

• GPU: none (CPU reference implementation only)

Usage

Indices indices → event positions positions (physical units). The entry into positions.

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

x = origin + spacing * i。find_peaks / zero_crossings_funct_1d などが返す 標本番号を、point_spectrum が受ける位置の列(欠陥が流れ方向のどこにあったか、いつ数えたか)にする。positions を signal と分けてあるのは、等間隔標本の列を事象の位置として(またはその逆に)渡すと、例外なしに別物のスペクトルが出るため(point_spectrum の docstring)。順序は入力のまま(並べ替えない)。

空の添字は ValueError(この repo の空入力の方針 A: 黙って空を返さず、何が空かを名指しで拒否)。

Args:

indices: 1-D の整数(整数値の float も可。非整数・非有限・空は拒否)。

spacing: 標本間隔(位置の単位 / 標本)。有限で 0 でないこと。

origin: 添字 0 の位置。有限。

Returns:

(k,) float64。

Raises:

ValueError: 1-D でない / 整数でない / 非有限 / 空 / spacing が 0 か非有限。

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)

• type_connectivity_tour — py -3.11 examples/type_connectivity_tour.py

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

—

Same category (entry)

synapse_table_from_table · jones_state


*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.