extract_cp_times#

ethograph.features.changepoints.dataset_changepoint_times(ds, feature=None, selections=None)[source]#

Sorted, unique times of every changepoint mask in ds — of feature only when given.

Masks that target different features are simply unioned; there is no merge step to refuse them. Empty when nothing matches.

Return type:

ndarray