[Eeglablist] Create unweighted grandaverage for ERP scalp plotting

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Tue Dec 30 15:41:19 PST 2014


Dear Camilla,

If you have created STUDY, try something like this (ch == channel index)

erpList = zeros(length(ALLEEG),length(EEG.times));
for subj = 1:length(ALLEEG)
    erpList(subj,:) = mean(ALLEEG(1,subj).data(ch,:,:),3);
end
figure; plot(mean(erpList)')

Makoto

On Sun, Dec 28, 2014 at 4:43 AM, Camilla Rotvel <caro at eng.au.dk> wrote:

>  Merry Christmas !
>
>
>
> I have 12 .set-files which are all epoched for the same condition. I wish
> to produce an unweighted average, and to be able to use all the plot
> options in eeglab, specifically the timtopo-function (eeglab -> plot ->
> Channel ERP(s) ->  with scalp map).
>
>
>
> I have by now tried several different solutions:
>
>
>
> 1.       From my knowledge ERPlab requires .erp-files, which I do not
> have, and they are created after epoching by eeglab which I cannot do
> because the .set-files are already epoched.
>
>
>
> 2.       I have also tried the ‘study’ in eeglab: file -> create study ->
> simple ERP study -> load datasets -> plot ERP(S) -> the plots are clearly
> visible for all electrodes , but I haven’t been able to use the
> timptopo-function on the grand average. Only the ‘Plot ERP(s)’-option is
> available for some reason.
>
>
>
> 3.       Lastly I have tried to import a text file with the Grandaverage
> ERP for each electrode, but eeglab does not allow timtopo on this dataset.
> I think it only runs timtopo on datasets that are not yet averaged (and
> contain all epochs).
>
>
>
> Please, do you have any suggestions for this issue ? I have already
> succeeded using the scalp map on the weighted grandaverage by concatenating
> all epochs, but as explained I’m unsure how to do it when unweighted, but
> I’m sure it is possible ?
>
>
>
> Regards
>
> Camilla
>
> ___________________________________________
>
> *Camilla Arndal Rotvel*
>
> Ph.D. student at DuPont Nutrition Biosciences
>
> Edwin Rahrs Vej 38, DK-8220 Brabrand
>
>
>
> Aarhus University
>
> Edison, Room 201, Finlandsgade 22, DK-8200 Aarhus N
>
>
>
> Phone    :  + 45 21543280
>
> E-mail     :  caro at eng.au.dk
>
> ___________________________________________
>
>
>
> _______________________________________________
> 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
>



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20141230/4c6184e1/attachment.html>


More information about the eeglablist mailing list