fullseye

create_funct_1d_pairs — ONED function op

使い方

A 1-D function from arbitrary (x, y) pairs, resampled to an equidistant grid (HALCON create_funct_1d_pairs).

The pairs are sorted by x and linearly interpolated onto the integer grid floor(min(x)) .. ceil(max(x)) (step 1). Grid points outside the convex hull of the data (only the two end points can be) hold the nearest sample’s value — numpy.interp end-hold, no extrapolation. Duplicate x values keep numpy’s interp behaviour (the segment between duplicates is a step). Note the returned function’s index 0 corresponds to physical x = floor(min(x)), not necessarily 0.

:param x: 1-D abscissa values, at least 1 pair, finite. :param y: 1-D ordinate values, same length as x, finite. :returns: float64 array on the integer grid. :raises ValueError: non-1-D / NaN / Inf input, empty input, or length mismatch.

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

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

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

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

同カテゴリ(function)

create_funct_1d_array · smooth_funct_1d_gauss · smooth_funct_1d_mean · derivate_funct_1d · integrate_funct_1d · zero_crossings_funct_1d · local_min_max_funct_1d · abs_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.