<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">The brainmovie function is deprecated (obsolete) and might not be fully compatible with dipfit any more.<div>It is better to use the version included in SIFT where it now lives.</div><div><br></div><div>In particular, I would use the latest version maintained by Tim Mullen</div><div><br></div><div>brainmovie3d_causal</div><div><br></div><div>Best,</div><div><div><br></div><div>Arno</div><div><br><div><div>On Aug 11, 2014, at 4:54 PM, Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu">mmiyakoshi@ucsd.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Dear Ramon,<div><br></div><div>Here is another report of a problem for you. Could you investigate it?</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 6, 2014 at 4:34 PM, Iman M.Rezazadeh <span dir="ltr"><<a href="mailto:irezazadeh@ucdavis.edu" target="_blank">irezazadeh@ucdavis.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><p class="MsoNormal">Hi, <u></u><u></u></p><p class="MsoNormal">
I have had a difficult time to run ‘<i>brainmovie3d’</i> function. Basically, I calculated the required input arguments for it using ‘<i>timef’</i> and ‘<i>newcrossf’</i> functions and then call <i>‘brainmovie3d’</i>:<u></u><u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size: 10pt; font-family: 'Courier New';"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size: 10pt; font-family: 'Courier New';">[ersps{1,1},itcs{1,1},powbase,times,freqs] =  timef(icaact(1,:),2000,[0 2000],1000,0); </span><span style="font-size:10.0pt;font-family:"Courier New";color:forestgreen">%     1st comp</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size: 10pt; font-family: 'Courier New';">[ersps{2,1},itcs{2,1},powbase,times,freqs] =  timef(icaact(2,:),2000,[0 2000],1000,0); </span><span style="font-size:10.0pt;font-family:"Courier New";color:forestgreen">%     2nd comp</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size: 10pt; font-family: 'Courier New';">          </span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size: 10pt; font-family: 'Courier New';"> [coh,mcoh,timesout,freqsout,cohboot,cohangles,allcoher,alltfX,alltfY]= newcrossf( icaact(1,:),icaact(2,:), 2000,[0 2000], 1000,0,</span><span style="font-size:10.0pt;font-family:"Courier New";color:#a020f0">'nfreqs'</span><span style="font-size: 10pt; font-family: 'Courier New';">,256);  </span><span style="font-size:10.0pt;font-family:"Courier New";color:forestgreen">%type', 'phasecoher', </span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size: 10pt; font-family: 'Courier New';">coh_cell={[] coh};  cohangles_cell={[] cohangles};</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size: 10pt; font-family: 'Courier New';">brainmovie3d(ersps,itcs,coh_cell,cohangles_cell,times,[1:30]);</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><i> ‘brainmovie3d’</i> function goes  smoothly until it gets to the point that it wants to call ‘<i>dipplot’</i> function. The first input argument of ‘<i>dipplot’</i> is ‘<i>dipstruct’</i> which SHOULD have xyz coordinates of selected components. HOWEVER in ‘<i>brainmovie3d’</i> function and according to its Help, coordinates are  2-column array of [x y] coordinates of the selected components.  <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Does anyone have any thoughts about this issue?<u></u><u></u></p><p class="MsoNormal">Best<u></u><u></u></p><p class="MsoNormal">Iman<u></u><u></u></p><p class="MsoNormal">

<u></u> <u></u></p><p class="MsoNormal"><b>-------------------------------------------------------------<u></u><u></u></b></p><p class="MsoNormal"><b>Iman M.Rezazadeh, Ph.D<u></u><u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Research Associate II <u></u><u></u></p><p class="MsoNormal">Semel Intitute, UCLA , Los Angeles<u></u><u></u></p><p class="MsoNormal">& Center for Mind and Brain, UC DAVIS, Davis<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">  <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></blockquote>

</div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</div>
</blockquote></div><br></div></div></body></html>