Kilosort icon indicating copy to clipboard operation
Kilosort copied to clipboard

kilosort3 template matching

Open runninghsus opened this issue 4 years ago • 0 comments

Hi,

Objective: I have spike sorted and saved a template from day 2 of a 3-day continuous recording (20 hour each) and would like to apply the template to day 1 and day 3. This is data from NP1, stitching would not be ideal for a 10 day recording, but could be done.

I have read through the issues and found that it can be done with kilosort2. However, I would like to use kilosort3. I've noticed that main_kilosort3.m does not utilize learnAndSolve8b.m.

Proposed solution: Since I am running it using ksGUI, I commented out the template_learning in line 798 and forced the code to use a working directory rez.mat. % obj.rez = template_learning(obj.rez, tF, st3);

rez_fname = fullfile(obj.ops.saveDir, 'rez.mat'); obj.rez = load(rez_fname, 'rez', '-v7.3');

Does this make sense? Or am I missing something?

Thank you for your time.

Alex

runninghsus avatar Aug 16 '21 21:08 runninghsus