Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/how_to/combine_recordings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Combine recordings in SpikeInterface
In this tutorial we will walk through combining multiple recording objects. Sometimes this occurs due to hardware
settings (e.g. Intan software has a default setting of new files every 1 minute) or the experimenter decides to
split their recording into multiple files for different experimental conditions. If the probe has not been moved,
however, then during sorting it would likely make sense to combine these individual reocrding objects into one
however, then during sorting it would likely make sense to combine these individual recording objects into one
recording object.

**Why Combine?**
Expand Down
8 changes: 4 additions & 4 deletions src/spikeinterface/core/baserecording.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,9 @@ def frame_slice(self, start_frame: int | None, end_frame: int | None) -> BaseRec
Parameters
----------
start_frame : int, optional
The start frame, if not provided it is set to 0
Start frame index. If None, defaults to the beginning of the recording (frame 0).
end_frame : int, optional
The end frame, it not provided it is set to the total number of samples
End frame index. If None, defaults to the last frame of the recording.

Returns
-------
Expand All @@ -771,9 +771,9 @@ def time_slice(self, start_time: float | None, end_time: float | None) -> BaseRe
Parameters
----------
start_time : float, optional
The start time in seconds. If not provided it is set to 0.
Start time in seconds. If None, defaults to the beginning of the recording.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This an important change. 0 is in fact wrong.

Thanks for the fix.

end_time : float, optional
The end time in seconds. If not provided it is set to the total duration.
End time in seconds. If None, defaults to the end of the recording.

Returns
-------
Expand Down