[Eeglablist] EEGLAB movie

Bradley Voytek bradley.voytek at gmail.com
Fri Jul 18 01:02:27 PDT 2008


The (:,128:2:192),3 part is just telling the script to create a topo
map of the mean across the third dimension of EEG.data across time
points 128 through 192, at two-point intervals (128:2:192). It's just
an example. In order to get the script to display the latency, you
need to edit eegmovie. In my version, line 161 defines the variable
"txt" as "txt = [int2str(f)];" where "f" is the current frame. You
just need to set this to the time value instead (by making a call to
EEG.times most likely).

::bradley voytek

On Mon, Jul 14, 2008 at 5:15 PM,  <tarareed1 at tx.rr.com> wrote:
> Hi,
>
> I would like to make a movie of ERP scalp topography through Matlab/EEGLAB.
>
> The tutorial uses the following code for an easy-to-create movie:
>
> pnts = eeg_lat2point([-100:10:600]/1000, 1, EEG.srate, [EEG.xmin EEG.xmax]);
> % Above, convert latencies in ms to data point indices
> figure; [Movie,Colormap] = eegmovie(mean(EEG.data(:,128:2:192),3),
> EEG.srate, EEG.chanlocs, 0, 0);
> seemovie(Movie,-5,Colormap);
>
> 2 questions:
>
> 1. In the 3rd line, I understand EEG.data to refer to my data in components
> x points x trials, but I don't understand what (:,128:2:192),3 is referring
> to (or how I should modify that for my own movie).
>
> 2. How can I have the latency (that corresponds to the topography) displayed
> as the movie is playing?
>
> Please let me know if you have any suggestions for creating this type of
> movie.
>
> Thanks,
>
> Tara Davis Reed
>
>
> _______________________________________________
> 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
>



More information about the eeglablist mailing list