diff --git a/src/spikeinterface/core/baserecording.py b/src/spikeinterface/core/baserecording.py index 573b119ada..880043afb1 100644 --- a/src/spikeinterface/core/baserecording.py +++ b/src/spikeinterface/core/baserecording.py @@ -475,8 +475,8 @@ def set_times(self, times, segment_index=None, with_warning=True): Parameters ---------- - times : float | 1d np.array - If `int`, this is the `t_start` for the segment, + times : int | float | 1d np.array + If `int` or `float`, this is the `t_start` for the segment, otherwise, it is the time vector. segment_index : int or None, default: None The segment index (required for multi-segment)