zero_crossings_funct_1dT_zero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1dzero_crossings_funct_1d (Operator)
Name
zero_crossings_funct_1dT_zero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1dzero_crossings_funct_1d
— Calculate the zero crossings of a function.
Signature
def zero_crossings_funct_1d(function: Sequence[Union[float, int]]) -> Sequence[float]
Description
zero_crossings_funct_1dzero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1dzero_crossings_funct_1d
calculates the zero crossings
ZeroCrossingsZeroCrossingsZeroCrossingszeroCrossingszero_crossings
of the function FunctionFunctionFunctionfunctionfunction
. A linear
interpolation is applied to the function between its sampling points
so that the coordinates of the zero crossing can be calculated
exactly. If an entire line segment between two sampling points has
a value of 0, only the end points of its supporting
interval are returned.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
FunctionFunctionFunctionfunctionfunction
(input_control) function_1d →
HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input function
ZeroCrossingsZeroCrossingsZeroCrossingszeroCrossingszero_crossings
(output_control) real-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Zero crossings of the input function
Possible Predecessors
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs
,
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array
,
smooth_funct_1d_gausssmooth_funct_1d_gaussSmoothFunct1dGaussSmoothFunct1dGausssmooth_funct_1d_gauss
,
smooth_funct_1d_meansmooth_funct_1d_meanSmoothFunct1dMeanSmoothFunct1dMeansmooth_funct_1d_mean
Module
Foundation