fullseye

invert_funct_1d — ONED function op

使い方

Swap the roles of x and y: x = f^-1(y) (HALCON invert_funct_1d).

Returns {"x": y-values sorted ascending, "y": their original indices}, i.e. the (y, x) pairs ordered so the new abscissa is monotonic — ready for numpy.interp-style lookup.

Honest limitation: this is a true inverse only when y is monotonic. A non-monotonic function is multi-valued; the sort interleaves its branches instead of resolving them (ties keep index order — numpy stable-ish argsort). An empty input returns two empty arrays.

:param y: 1-D function (may be empty). :returns: dict {"x": float64 array, "y": float64 array}. :raises ValueError: non-1-D / NaN / Inf input.

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(pairs を入力に取れる)

同カテゴリ(function)

create_funct_1d_array · create_funct_1d_pairs · smooth_funct_1d_gauss · smooth_funct_1d_mean · derivate_funct_1d · integrate_funct_1d · zero_crossings_funct_1d · local_min_max_funct_1d


Provenance: funct1d.py — ONED operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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