<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=981072222-01122008><FONT face=Arial
color=#0000ff size=2>Interesting, it's working really well for me - I'm very
glad!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=981072222-01122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=981072222-01122008><FONT face=Arial
color=#0000ff size=2>I did have to ensure that the interpolation was done
correctly though. For me this meant using the stable v6.01 to do JUST the
interpolation, saving the STUDY, and then going back to the Oct08 version to
pre-calculate my channel measures. Then the plotting of channel measures
with unequal group sizes (and I also have two conditions) works fine as far as I
can see.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=981072222-01122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=981072222-01122008><FONT face=Arial
color=#0000ff size=2>I never did work out why the interpolation didn't work
correctly in the newer versions. I tried many different parameters using
std_interp, eeg_interp as well as the menu system, and always ended up with an
error (griddata error previously reported).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=981072222-01122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=981072222-01122008><FONT face=Arial
color=#0000ff size=2>Anyway that's what worked for me - do interpolation in the
stable version of eeglab (v6.01), then calculate channel measures in the oct08
version, and then plotting will work. Probably there is an easier way
:)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=981072222-01122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=981072222-01122008><FONT face=Arial
color=#0000ff size=2>It looks like what you did should have worked though, are
you definitely using the edited version of std_erpplot.m? I have a few
different eeglab directories on my PC and it's easy to start up from the wrong
one..</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><!-- Converted from text/rtf format -->
<P><B><FONT face="Century Gothic" color=#808080>Hamish Innes-Brown</FONT></B>
<BR><FONT face="Century Gothic" color=#808080>Senior Research Assistant</FONT>
</P>
<P><FONT face="Century Gothic" color=#33cccc>The Bionic Ear Institute</FONT>
<BR><FONT face="Century Gothic" color=#808080>c/o St Vincents Hospital</FONT>
<BR><FONT face="Century Gothic" color=#808080>6<SUP>th</SUP> Floor Daly
Wing,</FONT> <BR><FONT face="Century Gothic" color=#808080>35 Victoria Pde,
Fitzroy Vic 3065</FONT> <BR><FONT face="Century Gothic" color=#808080>Tel: +61 3
9288 3523</FONT> <BR><FONT face="Century Gothic" color=#808080>Fax: +61 3 6997
7518</FONT> </P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Hilla Jakoby [mailto:jakobyhi@yahoo.com]
<BR><B>Sent:</B> Tuesday, 2 December 2008 2:59 AM<BR><B>To:</B> Hamish
INNES-BROWN; arno delorme<BR><B>Cc:</B> eeglablist@sccn.ucsd.edu; Michael
Stevens<BR><B>Subject:</B> Re: [Eeglablist] Unequal group size and STUDY
use<BR></FONT><BR></DIV>
<DIV></DIV>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV> </DIV>
<DIV>Dear all,</DIV>
<DIV> </DIV>
<DIV>I've tried to use the <STRONG>new std_erpplot.m</STRONG>
function with an unequal number of subjects of each group (25 versus
29) and the same error message was generated when trying to plot their
ERPs as before (using the old function). I've interpolated all datasets
beforehand to 65 electrodes (using eeg_interp(EEG, chanlocs,'invdist').
was I right in doing so? </DIV>
<DIV>On equal group sizes STUDY works well.</DIV>
<DIV>Is there another solution for the problem, other changes to be
done?</DIV>
<DIV>Many thanks, Hilla</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Ph.D. student</DIV>
<DIV>Gonda brain reseach center, </DIV>
<DIV>Bar Ilan Universiy, Israel</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR><BR>--- On <B>Sun, 11/30/08, arno delorme
<I><arno@ucsd.edu></I></B> wrote:<BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From:
arno delorme <arno@ucsd.edu><BR>Subject: Re: [Eeglablist] Unequal
group size and STUDY use<BR>To: "Hamish INNES-BROWN"
<HINNES-BROWN@bionicear.org><BR>Cc: eeglablist@sccn.ucsd.edu,
"Michael Stevens" <msteven@harthosp.org><BR>Date: Sunday, November
30, 2008, 9:40 PM<BR><BR><PRE>Dear Michael and Hamish,
thanks for reporting the problem. This issue arises due to the complexity of
the scheme implemented to handle scalp map plotting in the case of subject with
different number of channels. This scheme was currently enforcing to have groups
of the same size. To fix this problem, I have decided to enforce interpolation
so that all subject will need to have the same number of channels (or at least
subset of channels when plotting scalp maps). Scalp maps where the different
channels average different numbers of subjects do not make much sense anyway.
There has also been at least two people reporting plotting problems after
interpolating data, although I have not yet myself been able to reproduce the
problem. I hope the current fix will solve this problem too.
I have reprogrammed the attached std_erpplot.m function so that it can handle
groups of different sizes (although be sure to interpolate missing channels).
Please let me know if this fixes your problems (just replace this function in
the eeglabxxx/functions/studyfunc/ folder) and it will be integrated in the
EEGLAB monthly release. This message was forwarded to the list because it is of
global interest and also because it depicts a problem that is a major current
limitation for most users. In general though, please use the Bugzilla database
for reporting problems.
Best,
Arno
ps: For interpolation, there is currently a non-documented bug: if you
interpolate channels when pre-computing ERPs and then go back to the pre-compute
GUI to compute ERSP without interpolation, the function will crash. This is
because all measure have to be consistent in terms of interpolation. As
described above, the future function will enforce interpolation (which is
relatively fast). In case the function crashed for you, erase all measure data
files (*.daterp, *.datersp, *.datspec, *.datitc), and type on the command line
STUDY.changrp = []; then call back the pre-computing interface.
</PRE><PRE></PRE><PRE>_______________________________________________
Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
To unsubscribe, send an empty email to eeglablist-unsubscribe@sccn.ucsd.edu
For digest mode, send an email with the subject "set digest mime" to
eeglablist-request@sccn.ucsd.edu</PRE></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR></BODY></HTML>