cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
313 stars 157 forks source link

kilosort pulling incorrect spike times (outside of specified window) #1085

Closed verocg closed 3 years ago

verocg commented 3 years ago

Hello,

I am needing to run kilosort on specific time windows within my recording, and am finding that the output for spike_times.npy is populated by time points outside of the time range I selected from the kilosort GUI, which is highly problematic for needing to match sorted spikes with specific event windows from the larger recording file after importing sorted units and spike times back into Matlab. How are the spike times determined if only a section of a recording is processed?