csn-le / wave_clus

A fast and unsupervised algorithm for spike detection and sorting using wavelets and super-paramagnetic clustering
124 stars 65 forks source link

File load failure #226

Open maitrilab6 opened 1 year ago

maitrilab6 commented 1 year ago

Dear Team,

I am unable to load my dataset to sort spikes. I have a .mat file and the wave_clus folder with the subfolders has been added to the path. Following is the error I see:

Error in [wave_clus>load_data_button_Callback](matlab:matlab.internal.language.introspective.errorDocCallback('wave_clus>load_data_button_Callback', '/MATLAB Drive/wave_clus/wave_clus.m', 188)) ([line 188](matlab: opentoline('/MATLAB Drive/wave_clus/wave_clus.m',188,0))) data_handler = readInData(handles.par);

Error in [gui_mainfcn](matlab:matlab.internal.language.introspective.errorDocCallback('gui_mainfcn', '/MATLAB/toolbox/matlab/guide/gui_mainfcn.m', 95)) ([line 95](matlab: opentoline('/MATLAB/toolbox/matlab/guide/gui_mainfcn.m',95,0))) feval(varargin{:});

Error in [wave_clus](matlab:matlab.internal.language.introspective.errorDocCallback('wave_clus', '/MATLAB Drive/wave_clus/wave_clus.m', 63)) ([line 63](matlab: opentoline('/MATLAB Drive/wave_clus/wave_clus.m',63,0))) gui_mainfcn(gui_State, varargin{:});

Error while evaluating UIControl Callback.

Please help.

I have changed the %par.detection to both and added my sampling rate in "set parameters" after seeing one of your FAQs.

ferchaure commented 1 year ago

Hi, I don't have a clue the errors look odd and incomplete. That are all the error messages you got? were you able to use waveclus for others files? which version of Matlab do you have?

maitrilab6 commented 1 year ago

Hi, Thank you for the response. Those are all the errors I got the previous time. Now, it says only 15 spikes detected but shows nothing. I am using MATLAB 2021b.. I couldn't get wave_clus to run any of my files. Attached is the screenshot of error window.https://drive.google.com/file/d/1V-ACsQEWzgoPI3VFK0k1I9-b8_BWce2t/view?usp=sharing

maitrilab6 commented 1 year ago
Screenshot 2022-11-18 at 10 58 12 PM

hope the error is visible here.

ferchaure commented 1 year ago

OK, now it makes sense. you can play around with two parameters: