sort_spikes
Spike-sort a broadband window, making sorted units available for rates, PSTHs, rasters, and decoders. Uses probe geometry to sort nearby contacts jointly for accurate results.
Instructions
Spike-sort a broadband window (needs the sort extra). Afterwards the session's spike times are the sorted units, restricted to that window, so rates, PSTHs, rasters and decoders use them.
Uses the session's probe geometry (from the file or set_probe_geometry) so nearby contacts
are sorted jointly; without geometry each channel is treated as an independent electrode.
Sorting takes seconds to a few minutes depending on duration and channel count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t0 | No | ||
| sorter | No | spykingcircus2 | |
| channels | No | ||
| duration_s | No | ||
| session_id | Yes |