<div dir="ltr">Dear Jukka,<div><br></div><div>> On second thought it occurs to me that a video of a time-independent<br>construct like an ICA component wouldn't be too interesting. <br></div><div><br></div><div>Watch the movie 'Chapter 2 part 2' 12:21. You can see a very nice IC movies.</div>
<div><a href="http://sccn.ucsd.edu/eeglab/Online_EEGLAB_Workshop/EEGLAB12_ica1.html">http://sccn.ucsd.edu/eeglab/Online_EEGLAB_Workshop/EEGLAB12_ica1.html</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">
When I create this kind of movies I run a loop to visualize and save scalp topos from which movies can be created using a free movie makers.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Sample code below. If you have a question ask me again.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">**********************************</div><div class="gmail_extra">mapPeak = max(max(abs(EEG.data(:, start:start+600*samplesPerFrame,16))));<br></div><div class="gmail_extra">
<div class="gmail_extra">start = 69020-512*7; % sample</div><div class="gmail_extra">frameInterval = 33.33333; % captured every 33 ms</div><div class="gmail_extra">unitTime = 1000/512; % 1 sample = 1.9531 ms</div><div class="gmail_extra">
samplesPerFrame = round(frameInterval/unitTime); % 13 samples per a frame</div><div class="gmail_extra">for n = 1:600</div><div class="gmail_extra"> tmpSample = start+n*samplesPerFrame; % sample</div><div class="gmail_extra">
dataVector = EEG.data(:,tmpSample,16);</div><div class="gmail_extra"> h = figure; topoplot(dataVector, EEG.chanlocs, 'maplimits', [-mapPeak*0.8 mapPeak*0.8]);</div><div class="gmail_extra"> title([num2str(round((tmpSample-start)*unitTime)) 'ms'], 'FontSize', 20)</div>
<div class="gmail_extra"> </div><div class="gmail_extra"> print('-djpeg90', sprintf('%03d', n))</div><div class="gmail_extra"> </div><div class="gmail_extra"> close(h)</div><div class="gmail_extra">
end</div><div class="gmail_extra">*************************************</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Makoto<br><br><div class="gmail_quote">2014-01-26 Jukka Zitting <span dir="ltr"><<a href="mailto:jukka.zitting@gmail.com" target="_blank">jukka.zitting@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
On Sun, Jan 26, 2014 at 1:45 PM, Jukka Zitting <<a href="mailto:jukka.zitting@gmail.com">jukka.zitting@gmail.com</a>> wrote:<br>
> I'm looking for a way to visualize selected aspects of continuous EEG<br>
> data, for example by creating a video of the topoplot() output over<br>
> time for selected frequency bands or ICA components.<br>
<br>
</div>On second thought it occurs to me that a video of a time-independent<br>
construct like an ICA component wouldn't be too interesting. Anyway,<br>
to give a bit more background, we're interested in spotting features<br>
like delta or alpha waves while a subject is falling asleep. A video<br>
visualization (besides being a nice demo feature :-) could help<br>
identify interesting periods of activity that might otherwise be hard<br>
to spot or auto-detect within the continuous raw data.<br>
<div class=""><div class="h5"><br>
BR,<br>
<br>
Jukka Zitting<br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
</div></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></div>