Skip to content

Commit e7eddc3

Browse files
committed
Remove scaleproc parameter from KilosortSorter
1 parent 067ee83 commit e7eddc3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/spikeinterface/sorters/external/kilosort.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ class KilosortSorter(KilosortBase, BaseSorter):
5555
"Nrank": 3.0,
5656
"nfullpasses": 6.0,
5757
"maxFR": 20000,
58-
"scaleproc": 200.0,
5958
"Th": [4.0, 10.0, 10.0],
6059
"lam": [5.0, 5.0, 5.0],
6160
"nannealpasses": 4.0,
@@ -97,7 +96,6 @@ class KilosortSorter(KilosortBase, BaseSorter):
9796
"Nrank": "Matrix rank of spike template model. (Default 3.0)",
9897
"nfullpasses": "Number of complete passes through data during optimization. (Default 6.0)",
9998
"maxFR": "Maximum number of spikes to extract per batch. (Default 20000)",
100-
"scaleproc": "int16 scaling of whitened data. (Default 200.0)",
10199
"Th": "Threshold for detecting spikes on template-filtered data. Array of 3 values: [initial, final, final pass]. (Default [4.0, 10.0, 10.0])",
102100
"lam": "Regularization parameter for template amplitudes. Large means amplitudes are forced around the mean. Array of 3 values: [initial, final, final pass]. (Default [5.0, 5.0, 5.0])",
103101
"nannealpasses": "Number of annealing passes. Should be less than nfullpasses. (Default 4.0)",
@@ -241,7 +239,7 @@ def _get_specific_options(cls, ops, params) -> dict:
241239
ops["fshigh"] = params["freq_min"] # frequency for high pass filtering
242240
ops["fslow"] = params["freq_max"] # frequency for low pass filtering (optional)
243241
ops["ntbuff"] = params["ntbuff"] # samples of symmetrical buffer for whitening and spike detection
244-
ops["scaleproc"] = params["scaleproc"] # int16 scaling of whitened data
242+
ops["scaleproc"] = 200.0 # int16 scaling of whitened data
245243
ops["NT"] = params["NT"] # 32*1024+ ops.ntbuff;
246244
# this is the batch size (try decreasing if out of memory)
247245
# for GPU should be multiple of 32 + ntbuff

0 commit comments

Comments
 (0)