Open hendrikrth opened 7 years ago
Because you set ops.Nfilt = 64, Kilosort finds 64 templates. Each template is 82 time samples long, and covers all 16 channels. The first template is found in this way:
temps = readNPY('templates.npy'); template1 = squeeze(temps(1,:,:)); and so on.
The similar_templates file has the similarity between each pair of templates, i.e. the similarity measure between template 1 and template 10 is given by:
sim = readNPY('similar_templates.npy'); sim1vs10 = sim(1,10);
Hth - I wasn't sure what you meant by "local for each channel" so maybe I didn't answer everything...
On Fri, Apr 21, 2017 at 10:06 AM, hendrikrth notifications@github.com wrote:
Hi, I have a question regarding the file ‘templates.npy’. I run Kilosort on my data which has 16 Channels with the following parameters: ops.NchanTOT = 16 ops.Nchan = 16 ops.Nfilt = 64
The matrix in ‘templates.npy’ is of shape 64x82x16, the similarity matrix ‘similar_templates.npy’ has the shape 64x64. My question is now how are these two matrices related? How do I find out which template in ‘similar_templates.npy’ corresponds to the templates in ‘templates.npy’? And do I understand it correctly that the templates are local for each channel and in my case there are 64 on each of them?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cortex-lab/KiloSort/issues/64, or mute the thread https://github.com/notifications/unsubscribe-auth/AHPUP9YPvGbqGMEeMLpo26JvnVoCSlbeks5ryHGngaJpZM4NEDCX .
Hi, I have a question regarding the file ‘templates.npy’. I run Kilosort on my data which has 16 Channels with the following parameters: ops.NchanTOT = 16 ops.Nchan = 16 ops.Nfilt = 64
The matrix in ‘templates.npy’ is of shape 64x82x16, the similarity matrix ‘similar_templates.npy’ has the shape 64x64. My question is now how are these two matrices related? How do I find out which template in ‘similar_templates.npy’ corresponds to the templates in ‘templates.npy’? And do I understand it correctly that the templates are local for each channel and in my case there are 64 on each of them?