[FieldTrip] ERP extraction from EDF file

Ivano Triggiani ivano_triggiani at yahoo.it
Mon Mar 16 17:07:31 CET 2015


Dear Vahid 
we need more details. First, are that channels triggered? In this case, the trigger is another channel (with a square wave, or sinilar?). In that case you need, for instance, a personal function to segment the data into epoches. I can help you to write such a function, but I need information about the trigger.On the other hand, to export the ERP, maybe you will need another function to identify latency and amplitude, but this is a later step.
Ivano

------------------------------------------------------------------------



"No man can wear one face to himself 
and another to the multitude,
without finally getting bewildered 
as to which one is true."

Nathaniel Hawthorne 

     Il Lunedì 16 Marzo 2015 12:09, "fieldtrip-request at science.ru.nl" <fieldtrip-request at science.ru.nl> ha scritto:
   

 Send fieldtrip mailing list submissions to
    fieldtrip at science.ru.nl

To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
or, via email, send a message with subject or body 'help' to
    fieldtrip-request at science.ru.nl

You can reach the person managing the list at
    fieldtrip-owner at science.ru.nl

When replying, please edit your Subject line so it is more specific
than "Re: Contents of fieldtrip digest..."


Today's Topics:

  1. ERP extraction from EDF file (vahid gerami)
  2. Problem with retrieving the data and events in fieldtrip RDA
      interface of Brainvision recorder (Elaine ?strand)
  3. how to add trigger values to cfg.trl (Zsolt Turi)


----------------------------------------------------------------------

Message: 1
Date: Sun, 15 Mar 2015 21:46:16 +0330
From: vahid gerami <vahidgerami.mse at gmail.com>
To: fieldtrip at science.ru.nl
Subject: [FieldTrip] ERP extraction from EDF file
Message-ID:
    <CALsD2yuFE02Lj05tSuJNMhZGc5WNKCx+FJvgm=+6qw=TURL2_Q at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

hello every body. i have recorded a 12 channel eeg signals as EDF file. now
i want to extract the ERP's and show them as a vector. can anybody help me
doing ?
any idea's?
regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150315/217e2161/attachment-0001.html>

------------------------------

Message: 2
Date: Mon, 16 Mar 2015 07:56:09 +0000
From: Elaine ?strand <elaine.astrand at mdh.se>
To: "fieldtrip at science.ru.nl" <fieldtrip at science.ru.nl>
Subject: [FieldTrip] Problem with retrieving the data and events in
    fieldtrip RDA interface of Brainvision recorder
Message-ID: <D12C4B27.61E%elaine.astrand at mdh.se>
Content-Type: text/plain; charset="iso-8859-1"

Hello all,


I'm trying to stream EEG-data from Brainvision recorder software into the fieltrip buffer. While the data is transferred, the events are not transferred at all.


I'm using "ft_realtime_brainampproxy.m" I noticed two things in the script:

1. Line 195 states 'Should I apply the calibration here?'

What does this mean? Does this create a problem in retrieving the data? The data in the field trip buffer does not have the same range as in the recorder software.


2. Line 198-200. Here the events are not stored in the event-structure. So this is why the events are not transferred.


Has anyone noticed the same problem? How did you implement the event structure?


Thanks in advance.

Kind regards,

Elaine ?strand, PhD

Postdoc at University of M?lardalen

V?ster?s, Sweden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150316/00d8e95d/attachment-0001.html>

------------------------------

Message: 3
Date: Mon, 16 Mar 2015 10:08:53 +0100
From: Zsolt Turi <zsoltturi at gmail.com>
To: fieldtrip at science.ru.nl
Subject: [FieldTrip] how to add trigger values to cfg.trl
Message-ID:
    <CAO_Ky_=DPWJAEiErGyv-pQf-5t0vdRsnc7zHmJ8LAXAj7=qkiQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear Fieldtrippers,

I use ft_defintrial function to perform triger-based trial segmentation of
cnt files recorded from the ANT EEG system. In the earlier version of
FieldTrip (e.g., 20140123) the resulted cfg.trl matrix has a size of n x 4,
where the last column represents trigger values.

In the newer version of FT (e.g., 20150310), the resulted trl matrix
contains only 3 columns and the 4th column about trigger values is missing.
To note but maybe it is not important but I do not use the most recent
version of Matlab (8.1.0.604, R2013a, student licence).

Could anyone give me a hint how can I add the trigger values to the cfg.trl
matrix (ie. to the 4th column)?

My code is:

cfg                                  = [];
cfg.dataset                      = '20150302_1454.cnt';
cfg.trialfun                      = 'ft_trialfun_general';
cfg.trialdef.prestim          = 1.5;
cfg.trialdef.poststim        = 2.0;
cfg.trialdef.eventtype        = 'trigger';
cfg.trialdef.eventvalue      = {'2','3'};
cfg                                  = ft_definetrial(cfg);

Many thanks in advance!

Zsolt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150316/3c3ee365/attachment-0001.html>

------------------------------

_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

End of fieldtrip Digest, Vol 52, Issue 16
*****************************************


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150316/5990c454/attachment-0002.html>


More information about the fieldtrip mailing list