From 469b3b0e36fdbc0571d37e100d99d6c741af1377 Mon Sep 17 00:00:00 2001 From: JoeZiminski Date: Wed, 13 Nov 2024 18:37:20 +0000 Subject: [PATCH] Fix docstring. --- src/spikeinterface/core/baserecording.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/spikeinterface/core/baserecording.py b/src/spikeinterface/core/baserecording.py index 886f7db79f..6d9d2a827f 100644 --- a/src/spikeinterface/core/baserecording.py +++ b/src/spikeinterface/core/baserecording.py @@ -511,8 +511,7 @@ def reset_times(self): def shift_times(self, shift: int | float, segment_index: int | None = None) -> None: """ - Shift all times by a scalar value. The default behaviour is to - shift all segments uniformly. + Shift all times by a scalar value. Parameters ---------- @@ -523,8 +522,8 @@ def shift_times(self, shift: int | float, segment_index: int | None = None) -> N started earlier. segment_index : int | None - The segment on which to shift the times. if `None`, all - segments will be shifted. + The segment on which to shift the times. + If `None`, all segments will be shifted. """ if segment_index is None: segments_to_shift = range(self.get_num_segments())