Skip to content

Commit

Permalink
Merge pull request #2593 from alejoe91/ks4-batch-size-bug-fixes
Browse files Browse the repository at this point in the history
Add batch size to KS4 wrapper
  • Loading branch information
samuelgarcia authored Mar 18, 2024
2 parents 6cbe4c5 + af269ff commit f9ecdbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/spikeinterface/sorters/external/kilosort4.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Kilosort4Sorter(BaseSorter):
gpu_capability = "nvidia-optional"

_default_params = {
"batch_size": 60000,
"nblocks": 1,
"Th_universal": 9,
"Th_learned": 8,
Expand Down Expand Up @@ -53,6 +54,7 @@ class Kilosort4Sorter(BaseSorter):
}

_params_description = {
"batch_size": "Number of samples per batch. Default value: 60000.",
"nblocks": "Number of non-overlapping blocks for drift correction (additional nblocks-1 blocks are created in the overlaps). Default value: 1.",
"Th_universal": "Spike detection threshold for universal templates. Th(1) in previous versions of Kilosort. Default value: 9.",
"Th_learned": "Spike detection threshold for learned templates. Th(2) in previous versions of Kilosort. Default value: 8.",
Expand Down

0 comments on commit f9ecdbf

Please sign in to comment.