zero_crossings_funct_1d — ONED function op

• Data kinds: signal → indices

• Call: import fullseye as fs; fs.ledger.zero_crossings_funct_1d(y) (implementation को सीधे call करना हो तो import funct1d; funct1d.zero_crossings_funct_1d(y), registry से लेना हो तो ops1d.get("zero_crossings_funct_1d"))

उपयोग

वे index जहाँ function का sign बदलता है (HALCON zero_crossings_funct_1d)।

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

Returns the integer indices i with sign(y[i]) * sign(y[i+1]) < 0 — the sample *before* each crossing. An empty input returns an empty index array (degenerate case, not an error).

Honest limitation: the test is a strict sign product, so a crossing that lands exactly on a zero sample ([-1, 0, 1]) is *not* reported, nor is a touch of zero without a sign change ([1, 0, 1]).

:param y: 1-D function (may be empty). :returns: int index array (possibly empty). :raises ValueError: non-1-D / NaN / Inf input.

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

• signal_funct1d — py -3.11 examples/signal_funct1d.py

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

peak_subbin

इसी category के (function)

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


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

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