cortex-lab / KiloSort

GPU code for spike sorting
GNU General Public License v2.0
179 stars 100 forks source link

Overwriting ops.spkTh during mainLoop #251

Closed FilippoHei closed 2 years ago

FilippoHei commented 2 years ago

Hi there. After running Kilosort2 with a few different settings I noticed that the ops.spkTh variable is overwritten several times in the mainLoop (see picture). It is even commented with ops.spkTh = -6; % why am I overwriting this here?

image

So, is there a reason for this overwriting? I commented out the lines, and it worked just fine, with the additional benefit of being able to set the spkTh parameter myself.

FilippoHei commented 2 years ago

Moved to https://github.com/MouseLand/Kilosort/issues/468