Skip to content

Commit 1db8f5b

Browse files
committed
Update docstrings to zach's pleasing
1 parent 7338f7a commit 1db8f5b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/spikeinterface/core/baserecording.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ def frame_slice(self, start_frame: int | None, end_frame: int | None) -> BaseRec
772772

773773
def time_slice(self, start_time: float | None, end_time: float) -> BaseRecording:
774774
"""
775-
Returns a new recording with sliced time. Note that this operation is not in place.
775+
Returns a new recording object, restricted to the time interval [start_time, end_time].
776776
777777
Parameters
778778
----------

src/spikeinterface/core/basesorting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def frame_slice(self, start_frame, end_frame, check_spike_frames=True):
474474

475475
def time_slice(self, start_time: float | None, end_time: float | None) -> BaseSorting:
476476
"""
477-
Returns a new sorting with sliced time. Note that this operation is not in place.
477+
Returns a new sorting object, restricted to the time interval [start_time, end_time].
478478
479479
Parameters
480480
----------

0 commit comments

Comments
 (0)