[Eeglablist] eeglablist Digest, Vol 161, Issue 1

chao wang hnchaowang at gmail.com
Sun Mar 4 00:27:37 PST 2018


Hi,  Deepa

Type 'help pop_importevent', resulting the following information regarding
the required event file formats:

" ...

This loads the ascii file 'event_values.txt' containing 3 columns
(event_type, latency, and condition). Latencies in the file are
 in ms (1E-3). The first event latency is re-aligned with the
beginning of the dataset ('align', 0). Any previous events
are erased ('append', 'no').

..."

May be you should check your input event files first.

Best,
Chao

Chao Wang, PhD Candidate
Institute of Biomedical Engineering
Xi'an Jiaotong University
No.28, Xianning West Road, Xi'an, P.R. China

On Sun, Mar 4, 2018 at 4:00 AM, <eeglablist-request at sccn.ucsd.edu> wrote:

>
> ---------- Forwarded message ----------
> From: Deepa Gupta <deepag1 at umbc.edu>
> To: eeglablist <eeglablist at sccn.ucsd.edu>
> Cc:
> Bcc:
> Date: Wed, 28 Feb 2018 23:12:49 -0500
> Subject: [Eeglablist] issue with importing events from MATLAB/ASCII file
> Hi,
>
> My import data file (CNT) has some event info but I am need to update
> that by importing a text file with the revised event markers.
>
> On doing that I get the following error:
>
> EEGLAB error in function importevent() at line 210:
> Reference to non-existent field 'latency'
>
> The steps I did are as follows:
>
> 1. Imported data from a CNT file
> 2. At console, I then ran the command: EEG = pop_editeventvals(EEG,'delete'
> ,[1:213]);
> Note: (I checked that EEG.event had 213 elements. That's where I get the
> size number 213 from)
> 3. Next, File>Import event. I browsed to my event txt file for entering
> the filename in the pop-up window, entered header line as Type Latency and
> number of header lines is '1'. Rest is the same as usual/default and ok.
>
> I tried step 3 without the header line in my text file with appropriate
> parameters as well as with a MAT file but I am still getting the same above
> described. It seems like (on google-ing) that this is may be a GUI handles
> issue? The only other eeglab forum I found was the one below but it seems
> to be not close to my scenario maybe
> https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1106
>
> I am not entirely sure.
>
> any help will be greatly appreciated.
>
> Many thanks in advance
> Sincerely,
>
> Deepa Gupta
> Research Assistant (details
> <https://www.csee.umbc.edu/~choa/CurrentProjects/index.html>)
> CSEE <http://www.csee.umbc.edu> at UMBC <http://www.umbc.edu>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20180304/9f937816/attachment.html>


More information about the eeglablist mailing list