Kilosort v4.1.0
This release includes includes a change to the default behavior of the clustering step. For each section of a probe, all spikes will be used in clustering up to a maximum of 25,000 spikes, which is a change from the old default of using every 20th spike (cluster_downsampling parameter) with no maximum spike count (max_cluster_subset parameter). The new settings are better-aligned with the methods published in the Kilosort paper.
The new default dramatically reduces sorting time for long recordings. For two ~13 hour Neuropixels datasets, sorting time was reduced by 65% with no qualitative change to sorting results. The change also did not impact Kilosort4's performance on the published benchmarks. Additionally, we expect better clustering of probe sections with low spike counts since they will be more densely sampled than before.
Full Changelog: 4.0.37...v4.1.0