# [Eeglablist] Problem with BrainMovie3d and Dipplot

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Mon Aug 11 12:54:43 PDT 2014

```Dear Ramon,

Here is another report of a problem for you. Could you investigate it?

Makoto

On Wed, Aug 6, 2014 at 4:34 PM, Iman M.Rezazadeh <irezazadeh at ucdavis.edu>
wrote:

> Hi,
>
> I have had a difficult time to run ‘*brainmovie3d’* function. Basically,
> I calculated the required input arguments for it using ‘*timef’* and ‘
> *newcrossf’* functions and then call *‘brainmovie3d’*:
>
>
>
> [ersps{1,1},itcs{1,1},powbase,times,freqs] =  timef(icaact(1,:),2000,[0
> 2000],1000,0); %     1st comp
>
> [ersps{2,1},itcs{2,1},powbase,times,freqs] =  timef(icaact(2,:),2000,[0
> 2000],1000,0); %     2nd comp
>
>
>
>  [coh,mcoh,timesout,freqsout,cohboot,cohangles,allcoher,alltfX,alltfY]=
> newcrossf( icaact(1,:),icaact(2,:), 2000,[0 2000], 1000,0,'nfreqs',256);  %type',
> 'phasecoher',
>
> coh_cell={[] coh};  cohangles_cell={[] cohangles};
>
> brainmovie3d(ersps,itcs,coh_cell,cohangles_cell,times,[1:30]);
>
>
>
>
>
> * ‘brainmovie3d’* function goes  smoothly until it gets to the point that
> it wants to call ‘*dipplot’* function. The first input argument of ‘
> *dipplot’* is ‘*dipstruct’* which SHOULD have xyz coordinates of selected
> components. HOWEVER in ‘*brainmovie3d’* function and according to its
> Help, coordinates are  2-column array of [x y] coordinates of the selected
> components.
>
>
>
>
> Best
>
> Iman
>
>
>
> *-------------------------------------------------------------*
>
>
>
>
> Research Associate II
>
> Semel Intitute, UCLA , Los Angeles
>
> & Center for Mind and Brain, UC DAVIS, Davis
>
>
>
>
>
>
>
>
>
>
>

--
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/20140811/d166f769/attachment.html>
```