Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Get_spikes #191

Open
Soooli69 opened this issue Jan 15, 2021 · 6 comments
Open

Get_spikes #191

Soooli69 opened this issue Jan 15, 2021 · 6 comments

Comments

@Soooli69
Copy link

Hello
I have a problem with the new version of "Wave_Clus" algorithm. When I run Get_spikes, no result saves.
In that instruction has been said : "Saves spikes, spike times (in ms), used parameters and a sample segment
of the continuous data (optional) in filename_spikes.mat."
Please help me.

@ferchaure
Copy link
Member

Hi
In which format your data is saved?
How do you call the function?

@Soooli69
Copy link
Author

In this version, you said that we have to use Matlab cell according to these phrases
"A .txt file with the names of the files to use.
% A matlab cell with the names of the files to use.
% A vector with channel numbers. In this case the function will proccess all the
% supported files (except .mat files) located in the folder with those
% channel numbers (e.g., CSC1.Ncs or NSX4.NC5)
% 'all', in this case the functions will process all the
% supported files in the folder (except .mat files)."
I call it using this code "Get_spikes('Data.mat')"

@ferchaure
Copy link
Member

the call looks fine,
has Data.mat a data variable inside with the raw data ?

@Soooli69
Copy link
Author

I've used the older version (2004).
Data.mat is a raw data with 16 channels.

@ferchaure
Copy link
Member

ferchaure commented Jan 15, 2021

Wave_clus loads one file per channel (to use polytrodes follow the instructions on the wiki), you will have to separate that file in 16 files if you want to sort each channel independently.

@Soooli69
Copy link
Author

Thank you, Fernando.
I'll try again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants