[Eeglablist] ant and eeglab

Stephen Politzer-Ahles politzerahless at gmail.com
Fri Jan 4 11:09:41 PST 2013


Hi Anahita,

You don't need any plugin to average channels, you can just use the
mean() command in MATLAB. For example, if you want to average channels
6, 7, and 8, then

mean( EEG.data(6:8,:) )

will give you the average across those channels

As for re-referencing the average of A1 and A2, it depends whether
either of those was your online reference during the recording. See
sccn.ucsd.edu/pipermail/eeglablist/2012/005585.html and
http://sccn.ucsd.edu/pipermail/eeglablist/2012/005576.html. Basically,
if your recording reference was something other than A1 or A2, you can
re-reference in the GUI by just selecting A1 and A2 (this will average
them); if A2 was your recording reference, then a way to re-reference
to the average is to subtract (A1)/2 from all channels.

On Fri, Jan 4, 2013 at 6:01 PM, anahita khorrami <asaliam20 at gmail.com> wrote:
> Hi Dear all
> I want to know if there is possible to average several channels withh
> plogin? if possible  how?
> second question I want to know how to define avereage of (A2+A1)/2 in
> rereference with plogin ?
> best
>
> On Thu, Dec 27, 2012 at 1:38 AM, anahita khorrami <asaliam20 at gmail.com>
> wrote:
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Bernhardsson Jens <Jens.Bernhardsson at miun.se>
>> Date: Wed, Nov 28, 2012 at 6:35 AM
>> Subject: Re: [Eeglablist] ant and eeglab
>> To: Arnaud Delorme <arno at ucsd.edu>
>> Cc: "eeglablist at sccn.ucsd.edu" <eeglablist at sccn.ucsd.edu>
>>
>>
>> Hi
>>
>> Importing *.cnt file some events are coded as numbers and some as string,
>> this is a known error and have
>> been solved by converting the triggers to either string or number
>> https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1161
>>
>>
>> With the new importer I had to convert from string to number and back to
>> string again in order for eeglab to read
>> the triggers correctly.
>> And in this specific order.
>>
>> for i=1:size(EEG.event,2);
>>     EEG.event(i).type=str2double(EEG.event(i).type);
>>     EEG.event(i).type=num2str(EEG.event(i).type);
>>     EEG.event(i).urevent=i;
>>     end;
>>
>>
>> What kind of a problem can occur, if any, with handling the trigger data
>> like this?
>> Is there a smoother way to do this?
>>
>> Also, Arno do you have any clue of the magnitude of event latency problem
>> with the older importer?
>>
>> Best
>> Jens
>>
>>
>>
>>
>> -----Ursprungligt meddelande-----
>> Från: eeglablist-bounces at sccn.ucsd.edu
>> [mailto:eeglablist-bounces at sccn.ucsd.edu] För Arnaud Delorme
>> Skickat: den 27 november 2012 19:07
>> Till: anahita khorrami
>> Kopia: eeglablist at sccn.ucsd.edu
>> Ämne: Re: [Eeglablist] ant and eeglab
>>
>> Dear Anahita,
>>
>> I have noticed a problem with the event latencies of the ANT import
>> plugin.
>> The event latency were wrong in some case.
>> Replace the following function in eeglab/plugins/anteepimport1.08
>>
>>
>> https://sccn.ucsd.edu/svn/software/eeglab/plugins/anteepimport1.09/pop_loadeep.m
>>
>> Note that this plugin was originally developed by ANT not by us.
>> Thanks,
>>
>> Arno
>>
>> On 19 Nov 2012, at 03:10, anahita khorrami wrote:
>>
>> >  Hi
>> >     I hope some one help me. I analyze the ANT file and open the data
>> > with
>> >     eeprobe. ar this time I use EEGlab Plogin. inspite of showing the
>> > events
>> >     numbers but when I want to select the event there is noting on the
>> >     browse. in addition with event field I added the triger file of ANT
>> > which
>> >     is a note pad. would you please what can I do with this problem?
>> >     best regards
>> > anahita khorrami _______________________________________________
>> > Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> > To unsubscribe, send an empty email to
>> > eeglablist-unsubscribe at sccn.ucsd.edu
>> > For digest mode, send an email with the subject "set digest mime" to
>> > eeglablist-request at sccn.ucsd.edu
>>
>>
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to
>> eeglablist-unsubscribe at sccn.ucsd.edu
>> For digest mode, send an email with the subject "set digest mime" to
>> eeglablist-request at sccn.ucsd.edu
>>
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to
>> eeglablist-unsubscribe at sccn.ucsd.edu
>> For digest mode, send an email with the subject "set digest mime" to
>> eeglablist-request at sccn.ucsd.edu
>>
>
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu



-- 
Stephen Politzer-Ahles
University of Kansas
Linguistics Department
http://people.ku.edu/~sjpa/




More information about the eeglablist mailing list