ucdavis / erplab

ERPLAB Toolbox is a free, open-source Matlab package for analyzing ERP data. It is tightly integrated with EEGLAB Toolbox, extending EEGLAB’s capabilities to provide robust, industrial-strength tools for ERP processing, visualization, and analysis. A graphical user interface makes it easy for beginners to learn, and Matlab scripting provides enormous power for intermediate and advanced users.
http://erpinfo.org/erplab
261 stars 74 forks source link

pop_artextval wants an event list #149

Open hrea18 opened 2 years ago

hrea18 commented 2 years ago

Description

I'm trying to run pop_artextval as artifact detection on segmented data.

However, I keep getting an error requesting an eventlist:

channel # Reference to non-existent field 'EVENTLIST'.

Error in pop_artextval (line 220) if ~isfield(EEG.EVENTLIST.bdf, 'rt')

I tried to run pop_creabasiceventlist but got an error saying that function only works on continuous data

Any ideas on:

  1. how to create an eventlist for segmented data?
  2. how to clear this error about "rt"?

| Matlab version | [2020] | | EEGLAB version | [2021.1] | | ERPLAB version | [fill in] |

ammsimmons commented 2 years ago

Hi. Please try using "ERPLAB>Utilities>Convert an Epoched Dataset into a Continuous One"

From here you will be able to create an Eventlist and re-bin your data according to your specifications.

hrea18 commented 2 years ago

Thank you so much. We were able to convert the dataset into a continuous file and to create an event list.

Now I’m having trouble using binlister. It seems possible that in exposing the data from netstation 4, we lost the event info and din info from the ECITCPIP5513 file.

Is there a file in the mff file that would have the info I need for binlister? Would this information have been deleted during the export process? Do you have any suggestions or work arounds?

Thanks for your time.

Hannah Rea, Ph.D. Postdoctoral Fellow UW Psychiatry and Behavioral Sciences Research in Autism and the Brain Lab (RAB Lab)

University of Washington CHDD Box 357920 Seattle, Washington 98195 Email: @.**@.> Phone: (206)-221-9194 Pronouns: she/her/hers

On Aug 30, 2021, at 7:36 PM, Aaron Matthew Simmons @.**@.>> wrote:

Hi. Please try using "ERPLAB>Utilities>Convert an Epoched Dataset into a Continuous One"

From here you will be able to create an Eventlist and re-bin your data according to your specifications.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/lucklab/erplab/issues/149#issuecomment-908779676, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVLGA6O543AUDA7YMBXFTTTT7QIZTANCNFSM5CZZ6IFQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ammsimmons commented 2 years ago

Hi Dr. Rea. Unfortunately we are unfamiliar with the mff files and the way Netstation exports segmented data. If an eventlist was created and the event codes are integers (not strings) then the route to take would be to create a binlister file to re-bin and then re-segment your data, but if you are not able to recover event codes in this way then this process will not work.

hrea18 commented 2 years ago

Thank you so much for all of your help. I greatly appreciate it.

Hannah Rea, Ph.D. Postdoctoral Fellow UW Psychiatry and Behavioral Sciences Research in Autism and the Brain Lab (RAB Lab)

University of Washington CHDD Box 357920 Seattle, Washington 98195 Email: @.**@.> Phone: (206)-221-9194 Pronouns: she/her/hers

On Sep 7, 2021, at 8:43 PM, Aaron Matthew Simmons @.**@.>> wrote:

Hi Dr. Rea. Unfortunately we are unfamiliar with the mff files and the way Netstation exports segmented data. If an eventlist was created and the event codes are integers (not strings) then the route to take would be to create a binlister file to re-bin and then re-segment your data, but if you are not able to recover event codes in this way then this process will not work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/lucklab/erplab/issues/149#issuecomment-914735779, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVLGA6JBA4AC2ZQ72UITAVDUA2WUTANCNFSM5CZZ6IFQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.