GithubHelp home page GithubHelp logo

Comments (9)

arnodelorme avatar arnodelorme commented on June 12, 2024

Probably not. Can you try "std_findsameica(ALLEEG)?" In the example below, there are 6 datasets and 3 subjects. Subject 1 is datasets 1 and 2, subject 2 is datasets 3 and 4, and subject 3 is datasets 5 and 6.

The function you are using will return an error if there is not the same number of elements for each subject (one subject has more datasets with the same ICA than others). Let us know.

std_findsameica(ALLEEG)

ans =

  1×3 cell array

    {[1] [2]}    {[3] [4]}    {[5] [6]}

from eeglab.

zaeemhadi avatar zaeemhadi commented on June 12, 2024

As above, I loaded 3 participants with 30 set files (5 runs x 6 conditions) and one participant with 24 set files (4 runs x 6 conditions). Do I have to drop the subject with unequal datasets?

std_findsameica(ALLEEG) returns below

`ans =

1×4 cell array

Columns 1 through 2

{1×30 double}    {1×30 double}

Columns 3 through 4

{1×24 double}    {1×30 double}`

from eeglab.

arnodelorme avatar arnodelorme commented on June 12, 2024

In your case, I think it is fine to comment the lines in the code. I was trying to find which function returned the error. Where did you comment the lines?

from eeglab.

zaeemhadi avatar zaeemhadi commented on June 12, 2024

Oh. I got the error when I was trying to plot ERSPs from edit/plot component clusters.
The error appeared while the command window was printing

Reading subjects' data or looking up measure values in EEGLAB cache

I commented the lines 210-212 inside the function "std_readdata.m" (inside folders functions -> studyfunc).

from eeglab.

arnodelorme avatar arnodelorme commented on June 12, 2024

This function was changed in EEGLAB 2024.0. I do not think it would trigger the error now. Would you mind to give it a try?

from eeglab.

zaeemhadi avatar zaeemhadi commented on June 12, 2024

I am using the EEGLAB version 2024.0. The error occurred in this version.

from eeglab.

arnodelorme avatar arnodelorme commented on June 12, 2024

I do not see the relevant lines at 210-212. Attaching the latest function. Would you mind to try it?

std_readdata.m.zip

from eeglab.

zaeemhadi avatar zaeemhadi commented on June 12, 2024

Thanks for sending this. It worked perfectly fine with this function.

Just to double check, I tried redownloading latest EEGLab for matlab from below link
https://sccn.ucsd.edu/eeglab/downloadtoolbox.php

However, the std_readdata.m function that comes with it doesn't seem to be updated.

Best wishes

from eeglab.

arnodelorme avatar arnodelorme commented on June 12, 2024

Yes, the function I shared will be in 2024.1 in a couple of months. You can access it on Github but not through that link. Thank you

from eeglab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.