[Eeglablist] ant and eeglab

Stephen Politzer-Ahles politzerahless at gmail.com
Sat Jan 5 02:27:14 PST 2013


Hi Anahita,

Regarding your first question: You are asking how to add the average
of several channels back into the montage as a new channel? I'm afraid
I don't know how to do that. But maybe someone else on the list can
help with that.

For your second question, the only way I know to do that in standard
EEGLAB is to first merge the various files for that subject (using
pop_mergeset() or the menu option in the GUI), and then extract epochs
around that stimulus as usual. But I'm not familiar with STUDY and
ERPLAB, so those might have other methods I don't know about.

Best,
Steve

On Sat, Jan 5, 2013 at 6:02 PM, anahita khorrami <asaliam20 at gmail.com> wrote:
> hi
> thank you. but there is another question. if I average several channels how
> I call this new channel in EEGLAB(plogin)?
> one more question
> if I have several block or recorded file for one person for signal averaging
> on one stimuli for one person which part of GUI is helpful?
> best
> On Fri, Jan 4, 2013 at 11:09 AM, Stephen Politzer-Ahles
> <politzerahless at gmail.com> wrote:
>>
>> 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/
>
>



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




More information about the eeglablist mailing list