last_threshold_crossing¶ vallenae.features.last_threshold_crossing(data, threshold)[source]¶ Compute index of last threshold crossing. Parameters: data (ndarray) – Input array threshold (float) – Threshold amplitude Return type: int | None Returns: Index of last threshold crossing. None if threshold was not exceeded