wave_clus
wave_clus copied to clipboard
Get_spikes
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.
Hi In which format your data is saved? How do you call the function?
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')"
the call looks fine, has Data.mat a data variable inside with the raw data ?
I've used the older version (2004). Data.mat is a raw data with 16 channels.
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.
Thank you, Fernando. I'll try again.