sccn / eeglab

EEGLAB is an open source signal processing environment for electrophysiological signals running on Matlab and developed at the SCCN/UCSD
https://eeglab.ucsd.edu/
Other
610 stars 246 forks source link

Error 471 in STUDY plotting ERPimage #478

Closed mxw976 closed 2 years ago

mxw976 commented 2 years ago

I am running a simple study with events for presenting a stimulus and events coding the response. When i try to plot an ERPimage of the study containing 3 datasets in one group and 4 datasets in another, it doesn't work. With standard settings, the error simply states: 'parallel toolbox not found' then if you change the preferences to inlcude the parallel toolbox option, marked as a beta, it produces the error at line 471 error in function std_precomp().

I have pre-processed the data, following the eeglab tutorial closely and it produced this error. I also tried running ica again on all the datasets in the study, but this didnt work either.

I am using the latest versions of eeglab and matlab.

ERPimages seem like such a powerful tool but it wont work on a study, but it does work on individual subjects. Please help! Psychophysics_-1.1epoch.zip

arnodelorme commented 2 years ago

Are you using version 2022.0 of EEGLAB? This problem should have been fixed. Let us know

mxw976 commented 2 years ago

Yes I am using eeglab 2022.0

mxw976 commented 2 years ago

This error also occurs when i precompute channel measures and calculate ERPs. However, it does still allow me to generate plots, do stats etc. The error is the same stating 'unrecognized function or variable parstatus_changed'.

arnodelorme commented 2 years ago

I think we have fixed the error since in the dev version of the code. Would you mind trying this version?

https://sccn.ucsd.edu/eeglab/currentversion/eeglab2022.1b.zip

arnodelorme commented 2 years ago

I would need to get all the STUDY files to try to plot them. You can post them at

https://drive.google.com/drive/folders/1Iz0sKvoP3GwKlsobcwjASmrJZDxwhOJ4?usp=sharing

You can delete them once I download them.

mxw976 commented 2 years ago

Okay thank you. I have uploaded my data to the document.

joardemu85 commented 2 years ago

Greetings. This is Jorge from University of Tokyo.

I had the same problem as Mike but trying to perform spectral analysis. If Mike doesn't mind, I will try first creating a new study using his data to check if the bug is fixed, because I might have made a mistake preprocessing mine.

arnodelorme commented 2 years ago

Yes, please. Thank you

mxw976 commented 2 years ago

Mine doesn’t work either and I have downloaded the new version which didn’t work either so I could have made a mistake too.

Are there any more options on a way forward Arnaud?

arnodelorme commented 2 years ago

I have downloaded the data and implemented a couple of fixes 17de44248. Let me know if it works for you and if not, please reopen the issue (or open a new issue). Screen Shot 2022-05-24 at 8 21 08 PM

mxw976 commented 2 years ago

Fantastic that you have got it working that's great news, unfortunately it still hasn't worked for me. Do I need to reinstall eeglab with the latest release?

mxw976 commented 2 years ago

This is now solved, i can plot erpimages. Thank you for your help.

For anyone reading with a similar problem, the solution was: use the dev version 2022.b, change the lines as described above, remove any older versions of eeglab and MOST IMPORTANTLY, ignore the message about the parallel toolbox!!!!

arnodelorme commented 2 years ago

Thanks. I have clarified the message about the parallel toolbox. It is not as scary any more.

Arno

joardemu85 commented 2 years ago

Hi Arnaud and Mike.

I could also generate my plots and statistics for frequency power spectrum. It worked for me by just updating the EEGLAB version. I will take into account all your advice in case I have a similar problem.

Thank you very much.

On Thu, May 26, 2022 at 2:22 AM Arnaud Delorme @.***> wrote:

Thanks. I have clarified the message about the parallel toolbox. It is not as scary any more.

Arno

— Reply to this email directly, view it on GitHub https://github.com/sccn/eeglab/issues/478#issuecomment-1137591538, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS4QAOHMRVHTY5JAMBXRNJTVLZOUPANCNFSM5WID3QRA . You are receiving this because you commented.Message ID: @.***>

--

Jorge Armando Delgado Muñoz Electronic Engineer MSc. Biomedical Engineering

arnodelorme commented 2 years ago

Wonderful