pairs_to_signal — REPRCONV pairs op

• 数据种类:pairs → signal

• 调用: import fullseye as fs; fs.ledger.pairs_to_signal(pairs)(要直接调用实现,import reprconv; reprconv.pairs_to_signal(pairs);从台账取用则 opsreprconv.get("pairs_to_signal"))

用法

对 (N,2) → 因变量的 signal (N,)。pairs 的第二个出口。

只取出列 1(y)。funct_1d_to_pairs 返回把 (x, y) 并排的(N,2),这相当于它的反方向 —— 只要 x 是等间隔的, signal -> pairs -> signal 就按位一致。传入 x 不等间隔的对时, x 的信息会默默丢失(signal 是以下标等间隔为前提的类型)。

所以 pairs_to_table 必定一并输出 x_uniform。

Args:

pairs: (N, 2) 或 2 个等长 1-D 的元组。

Returns:

(N,) float64。

Raises:

ValueError: 形状不正 / 非有限。

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

• 算法的正典(作者、年份)与用途见上面的族使用指南。

可运行的示例(实际调用该算子并已验证的样例)

• representation_conversion — py -3.11 examples/representation_conversion.py

• representation_roundtrip — py -3.11 examples/representation_roundtrip.py

类型可衔接的下一个算子(可接受 signal 作为输入)

—

同类别(pairs)

pairs_to_image2d · pairs_to_table


*Provenance: reprconv.py — REPRCONV 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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