You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -46,6 +47,31 @@ class KilosortSorter(KilosortBase, BaseSorter):
46
47
"wave_length": 61,
47
48
"delete_tmp_files": ("matlab_files",),
48
49
"delete_recording_dat": False,
50
+
"parfor": 0.0,
51
+
"nNeighPC": None,
52
+
"nNeigh": 16.0,
53
+
"whitening": "full",
54
+
"nSkipCov": 1.0,
55
+
"whiteningRange": 32.0,
56
+
"Nrank": 3.0,
57
+
"nfullpasses": 6.0,
58
+
"maxFR": 20000,
59
+
"Th": [4.0, 10.0, 10.0],
60
+
"lam": [5.0, 5.0, 5.0],
61
+
"nannealpasses": 4.0,
62
+
"momentum": [1/20, 1/400],
63
+
"shuffle_clusters": 1.0,
64
+
"mergeT": 0.1,
65
+
"splitT": 0.1,
66
+
"initialize": "fromData",
67
+
"loc_range": [3.0, 1.0],
68
+
"long_range": [30.0, 6.0],
69
+
"maskMaxChannels": 5.0,
70
+
"crit": 0.65,
71
+
"nFiltMax": 10000.0,
72
+
"fracse": 0.1,
73
+
"epu": np.inf,
74
+
"ForceMaxRAMforDat": 20e9,
49
75
}
50
76
51
77
_params_description= {
@@ -62,6 +88,31 @@ class KilosortSorter(KilosortBase, BaseSorter):
62
88
"contains kilosort-preprocessed data). Accepts `False` (deletes no files), `True` (deletes all files) "
63
89
"or a Tuple containing the files to delete. Options are: ('temp_wh.dat', 'matlab_files')",
64
90
"delete_recording_dat": "Whether to delete the 'recording.dat' file after a successful run",
91
+
"parfor": "Whether to use parfor to accelerate some parts of the algorithm. (0.0 or 1.0)",
92
+
"nNeighPC": "Number of channels to mask the PCs for visualization (Phy). None to skip, default is min(12, Nchan).",
93
+
"nNeigh": "Number of neighboring templates to retain projections of for visualization (Phy). (Default 16.0)",
94
+
"whitening": "Type of whitening. (Default 'full', or 'noSpikes')",
95
+
"nSkipCov": "Compute whitening matrix from every N-th batch. (Default 1.0)",
96
+
"whiteningRange": "How many channels to whiten together. (Inf for whole probe whitening, default 32.0)",
97
+
"Nrank": "Matrix rank of spike template model. (Default 3.0)",
98
+
"nfullpasses": "Number of complete passes through data during optimization. (Default 6.0)",
99
+
"maxFR": "Maximum number of spikes to extract per batch. (Default 20000)",
100
+
"Th": "Threshold for detecting spikes on template-filtered data. Array of 3 values: [initial, final, final pass]. (Default [4.0, 10.0, 10.0])",
101
+
"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])",
102
+
"nannealpasses": "Number of annealing passes. Should be less than nfullpasses. (Default 4.0)",
103
+
"momentum": "Momentum for optimization. Array of 2 values: [initial, final]. (Default [1/20, 1/400])",
104
+
"shuffle_clusters": "Allow merges and splits during optimization. (Default 1.0 or True)",
105
+
"mergeT": "Upper threshold for merging clusters. (Default 0.1)",
106
+
"splitT": "Lower threshold for splitting clusters. (Default 0.1)",
107
+
"initialize": "How to initialize templates. ('fromData' or 'no') (Default 'fromData')",
108
+
"loc_range": "Range (time x channels) to detect peaks. (Default [3.0, 1.0])",
109
+
"long_range": "Range (time x channels) to detect isolated peaks. (Default [30.0, 6.0])",
110
+
"maskMaxChannels": "How many channels to mask up/down when extracting PCs. (Default 5.0)",
111
+
"crit": "Upper criterion for discarding spike repeats. (Default 0.65)",
112
+
"nFiltMax": "Maximum number of 'unique' spikes to consider for template initialization. (Default 10000.0)",
113
+
"fracse": "Binning step along discriminant axis for posthoc merges (in units of sd). (Default 0.1)",
0 commit comments