snap_to_nearest_changepoint_time#
- ethograph.features.changepoints.snap_to_nearest_changepoint_time(t_clicked, ds, feature_sel, time, **ds_kwargs)[source]#
Snap a clicked time (seconds) to the nearest changepoint time.
Works entirely in the time domain — no index conversion needed. Combines kinematic, audio, and oscillation changepoints.
- Return type: