ucdavis/erplab

pop_artextval wants an event list

Opened this issue · 4 comments

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] |

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.

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.