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) (implementation को सीधे call करना हो तो import reprconv; reprconv.indices_to_positions(indices, spacing=1.0, origin=0.0), registry से लेना हो तो opsreprconv.get("indices_to_positions"))

• GPU: नहीं (केवल CPU reference implementation)

उपयोग

indices indices → event positions positions (physical units)। positions प्रकार का प्रवेश।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

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 か非有限。

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

• type_connectivity_tour — py -3.11 examples/type_connectivity_tour.py

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

—

इसी category के (entry)

synapse_table_from_table · jones_state


*Provenance: reprconv.py — REPRCONV operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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