min_height¶
- min_height(y, percentile=None, absolute=False)[source]¶
Get minimum value of y curve and its index.
- Parameters:
y (ndarray) – Array of y values.
percentile (float | None) – Return that percentile value if provided, otherwise just return min value.
absolute (bool) – Use absolute y value.
- Returns:
The minimum y value and index.
- Return type:
Tuple[float, int]