ethograph.features.changepoints#
Functions
Merge NaN-transition boundaries with other changepoints -> binary mask. |
|
Full interval-native correction pipeline. |
|
Lightweight cleanup used while manually creating labels. |
|
Correct dense label arrays using changepoints (legacy ML pipeline). |
|
Extract merged changepoint times from dataset. |
|
Convert a 1D signal into a binary mask marking boundaries of peak regions. |
|
scipy.signal.find_peaks + NaN boundaries -> binary mask. |
|
Find troughs (local minima) + NaN boundaries -> binary mask. |
|
Merge all changepoint variables in a dataset into a single boolean mask. |
|
Create changepoint-based features from a binary changepoint array. |
|
Snap a clicked time (seconds) to the nearest changepoint time. |