Skip to content

Commit 469b3b0

Browse files
committed
Fix docstring.
1 parent a1cf336 commit 469b3b0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/spikeinterface/core/baserecording.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,7 @@ def reset_times(self):
511511

512512
def shift_times(self, shift: int | float, segment_index: int | None = None) -> None:
513513
"""
514-
Shift all times by a scalar value. The default behaviour is to
515-
shift all segments uniformly.
514+
Shift all times by a scalar value.
516515
517516
Parameters
518517
----------
@@ -523,8 +522,8 @@ def shift_times(self, shift: int | float, segment_index: int | None = None) -> N
523522
started earlier.
524523
525524
segment_index : int | None
526-
The segment on which to shift the times. if `None`, all
527-
segments will be shifted.
525+
The segment on which to shift the times.
526+
If `None`, all segments will be shifted.
528527
"""
529528
if segment_index is None:
530529
segments_to_shift = range(self.get_num_segments())

0 commit comments

Comments
 (0)