component_model.utils.analysis¶
Functions
|
Check whether the provided (3) points contain an extremum. |
|
Estimate the extrema from the time series defined by y(t). |
- component_model.utils.analysis.extremum(x: tuple | list | ndarray, y: tuple | list | ndarray, aerr: float = 0.0)¶
Check whether the provided (3) points contain an extremum. Return 0 (no extremum), -1 (low point), 1 (top point) and the point, or (0,0).
- component_model.utils.analysis.extremum_series(t: tuple | list | ndarray, y: tuple | list | ndarray, which: str = 'max')¶
Estimate the extrema from the time series defined by y(t). which can be ‘max’, ‘min’ or ‘all’.