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

File load failure #226

Open
maitrilab6 opened this issue Nov 18, 2022 · 4 comments
Open

File load failure #226

maitrilab6 opened this issue Nov 18, 2022 · 4 comments

Comments

@maitrilab6
Copy link

maitrilab6 commented Nov 18, 2022

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
Copy link
Member

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
Copy link
Author

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
Copy link
Author

Screenshot 2022-11-18 at 10 58 12 PM

hope the error is visible here.

@ferchaure
Copy link
Member

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

  • par.stdmin if you reduce it, it will detect more spikes (specially if you have high noise)
  • par.stdmax if you increase it, it will remove less spikes (specially if you have low noise)

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