Library documentation
first_threshold_crossing()
Examples
Development
Compute index of first threshold crossing.
data (ndarray) – Input array
ndarray
threshold (float) – Threshold amplitude
float
Optional[int]
Optional
int
Index of first threshold crossing. None if threshold was not exceeded