Click or drag to resize

SignalMathGetIndicesOfZeroCrossings Method

Gets the indices of the zero crossings of the signal.

Namespace: Altaxo.Science.Signals
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static List<int> GetIndicesOfZeroCrossings(
	IReadOnlyList<double> y,
	List<int>? zeroCrossings = null
)

Parameters

y  IReadOnlyListDouble
The y-values of the signal.
zeroCrossings  ListInt32  (Optional)
A list that can be re-used as return value.

Return Value

ListInt32
List of indices, where zero crossing of the signal occurs.
See Also