[Eeglablist] EEG_map
Ibtissem KHOUAJA
ibtissem.Khouaja at live.fr
Thu Apr 6 10:16:20 PDT 2017
Hi Manousos,
Thank you for help,
I runed the topoplot command like this:
for i=1:3600
h=figure
topoplot(y, 'StandardCap19.ced');
colormap(gray)
saveas(h,['pic_in_' num2str(i,'%04d') '.png']);
close all
end;
With the StandardCap19.ced file contain:
Number labels theta radius X Y Z sph_theta sph_phi sph_radius
1 Fp2 18 0.511 0.95 -0.309 -0.0349 -18 -2 1
2 F4 39 0.333 0.673 -0.545 0.5 -39 30 1
3 C4 90 0.256 4.4e-17 -0.719 0.695 -90 44 1
4 P4 141 0.333 -0.673 -0.545 0.5 -141 30 1
5 F8 54 0.511 0.587 -0.809 -0.0349 -54 -2 1
6 P7 -126 0.511 -0.587 0.809 -0.0349 126 -2 1
7 T8 90 0.511 6.12e-17 -0.999 -0.0349 -90 -2 1
8 O2 162 0.511 -0.95 -0.309 -0.0349 -162 -2 1
9 Fp1 -18 0.511 0.95 0.309 -0.0349 18 -2 1
10 F3 -39 0.333 0.673 0.545 0.5 39 30 1
11 C3 -90 0.256 4.4e-17 0.719 0.695 90 44 1
12 P3 -141 0.333 -0.673 0.545 0.5 141 30 1
13 F7 -54 0.511 0.587 0.809 -0.0349 54 -2 1
14 P8 126 0.511 -0.587 -0.809 -0.0349 -126 -2 1
15 T7 -90 0.511 6.12e-17 0.999 -0.0349 90 -2 1
16 O1 -162 0.511 -0.95 0.309 -0.0349 162 -2 1
I have an error :
Error in topoplot (line 726)
Values = Values(plotchans);
Error in principal_test (line 2946)
topoplot(y, 'StandardCap19.ced');
Index exceeds matrix dimensions.
I really don't know what to do?
Is any thing wrong?
best,
Ibti
----------------------------------------------------------
----------------------------------------------------------
Ibtissem KHOUAJA BENFRADJ
PhD in computer science
Speciality: Biomedical Signal Processing
Laboratory: LTIM, University of Monastir, Tunisia
http://www.labtim.org/accueil.php
Laboratory: LIGM, Univerisity of Paris-East, France
http://ligm.u-pem.fr/
________________________________
De : Manousos Klados <manousos.klados at tu-dresden.de>
Envoyé : mercredi 5 avril 2017 17:59:35
À : Ibtissem KHOUAJA
Cc : eeglablist at sccn.ucsd.edu
Objet : Re: [Eeglablist] EEG_map
Dear Ibti,
You can use this (assuming that you have the 128 imported in EEGLAB)
for i=1:3600
h=figure
topoplot(y, EEG.chanlocs);
colormap(gray)
saveas(h,['pic_in_' num2str(i,'%04d') '.png']);
close all
end;
I hope that it works...
Best
Manousos
Manousos A. Klados, PhD
Research and Teaching Fellow, Lifespan Developmental Neuroscience, Department of Psychology, Technical University Dresden
A Zellescher Weg 17, 01062 Dresden, Germany
P +49(0)-351-463-33660 <tel:+49(0)-351-463-33660> M +49(0)-176-6988-1781 <tel:+49(0)-176-6988-1781> E mklados at gmail.com <mailto:mklados at gmail.com> W http://www.mklados.com
Skype mklados
Call for Papers (Frontiers):Applied Neuroscience: Methodology, Modeling, Theory, Applications and Reviews<http://journal.frontiersin.org/researchtopic/4923/applied-neuroscience-methodology-modeling-theory-applications-and-reviews#overview>
Latest Tweet:<https://twitter.com/mklados> RT @eva_fabry:<https://twitter.com/eva_fabry:> #digitalpole<https://twitter.com/digitalpole> #digital<https://twitter.com/digital> and don´t write off Greece, leapfroging still possible through digitization of the public sector & #in…<https://twitter.com/in…>
08:50 Apr-04<https://twitter.com/mklados/statuses/849182498911387648> Follow @mklados<https://twitter.com/intent/user?screen_name=mklados>
2017-04-05 18:07 GMT+02:00 Ibtissem KHOUAJA <ibtissem.Khouaja at live.fr<mailto:ibtissem.Khouaja at live.fr>>:
Dear list,
I used a tempral method to detect epileptic seizures from the CHB-MIT database.
The results are displayed as an index variable over the time.
In x, I have the time vector (1: 3600 second)
In y, I have the index values for each EEG channel (128 channel)
I need to present my results differently.
I want to have a grayscale image for each moment and taking into account the names of channels.
Is there a solution to this problem ?
Thank you so much for help,
Best,
Ibti
----------------------------------------------------------
----------------------------------------------------------
Ibtissem KHOUAJA BENFRADJ
PhD in computer science
Speciality: Biomedical Signal Processing
Laboratory: LTIM, University of Monastir, Tunisia
http://www.labtim.org/accueil.php
Laboratory: LIGM, Univerisity of Paris-East, France
http://ligm.u-pem.fr/
_______________________________________________
Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu<mailto: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<mailto:eeglablist-request at sccn.ucsd.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20170406/64a85f3d/attachment.html>
More information about the eeglablist
mailing list