Skip to content

Index issue when filtering the channels of interest. #9

Description

@KathrineSN

Hi HAPPE support team

I am currently trying to run the HAPPE_v4.m pipeline on an EEGLAB file of resting state low density EEG-data. However, I keep encountering an index error, as it won't allow me to include more than 1 channel (see the errorlog below)
image
It seems the error comes from line 525 in the HAPPE_v4.m script
image
and the 'chanIDs' which is causing problems is a 1x32 cell with the channel names
image
These are my parameters settings
image.

I have checked my EEGLAB file and it looks fine. I also only have the EEGLAB version installed that is in the HAPPE-master folder.
My MATLAB version is: R2022b Update 4 (9.13.0.2166757)

Do you have any idea what might be causing this error?

Thank you in advance!

Activity

  1. PINE-Lab commented on Sep 26, 2023

    @PINE-Lab
    Owner

    Hi Kathrine! Could you please confirm that your data includes channel locations? For instance, when you load the file into EEGLAB, do your channels have labels?

  2. KathrineSN commented on Sep 27, 2023

    @KathrineSN
    Author

    Yes, when I load the data in EEGLAB I do have the channel locations
    image
    I can also see the labels when I view the raw data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions