extract_cp_times#

ethograph.features.changepoints.extract_cp_times(ds, time, **cp_kwargs)[source]#

Extract merged changepoint times from dataset.

Replaces the inline pattern: merge_changepoints -> binary -> np.where -> times. Returns empty array if no CP variables exist.

Return type:

ndarray