wave_clus icon indicating copy to clipboard operation
wave_clus copied to clipboard

Get_spikes

Open Soooli69 opened this issue 4 years ago • 6 comments

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.

Soooli69 avatar Jan 15 '21 17:01 Soooli69

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

ferchaure avatar Jan 15 '21 18:01 ferchaure

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')"

Soooli69 avatar Jan 15 '21 18:01 Soooli69

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

ferchaure avatar Jan 15 '21 18:01 ferchaure

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

Soooli69 avatar Jan 15 '21 19:01 Soooli69

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.

ferchaure avatar Jan 15 '21 20:01 ferchaure

Thank you, Fernando. I'll try again.

Soooli69 avatar Jan 15 '21 21:01 Soooli69