ethograph.features.changepoints#
Functions
Merge NaN-transition boundaries with other changepoints -> binary mask. |
|
Where mask fires at selections: a boolean |
|
Times at which mask fires at selections, read off the mask's own time coordinate. |
|
Full interval-native correction pipeline. |
|
Lightweight cleanup used while manually creating labels. |
|
Sorted, unique times of every changepoint mask in ds — of feature only when given. |
|
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 changepoint variables in a dataset into a single boolean mask. |
|
Create changepoint-based features from a binary changepoint array. |