<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Rich,<br>
<br>
sorry about the late response to your message. You can export the data
to statistica by saving the timef() function output in an ASCII file.
If you type "eegh" on the command line, you will get the EEGLAB
history, and probably something like<br>
<br>
figure; pop_timef( EEG, 1, 1, [-1000 2000] , [3 0.5] ,'type',
'phasecoher', 'topovec', 1, 'elocs', EEG.chanlocs, 'chaninfo',
EEG.chaninfo, 'title','Channel FPz power','padratio', 1,
'plotphase','off');<br>
<br>
You can edit this line of code to return output (we could ouput them by
default but then we would clutter the Matlab environement with a number
of useless variables. If you look at the help of the pop_timef()
function, it tells you that it returns the same output as the timef()
function, so you may type:<br>
<br>
figure; [ersp itc powbase times freqs] = pop_timef( EEG, 1, 1, [-1000
2000] , [3 0.5] ,'type',
'phasecoher', 'topovec', 1, 'elocs', EEG.chanlocs, 'chaninfo',
EEG.chaninfo, 'title','Channel FPz power','padratio', 1,
'plotphase','off');<br>
<br>
See the function help for the description of these outputs. Then to
export these values, you may type<br>
<br>
save -ascii ersp.txt ersp<br>
save -ascii itc.txt itc<br>
save -ascii powbase.txt powbase % ERSP baseline power (already
subtracted in the "ersp" array)<br>
save -ascii times.txt times<br>
save -ascii freqs.txt freqs<br>
<br>
To have the frequencies in the first column of the ERSP array, and the
time latencies in the first row, type:<br>
<br>
ersp = [ freqs' ersp ]; % note the ' for transpose<br>
ersp = [ 0 times; ersp ];<br>
save -ascii ersp.txt ersp<br>
<br>
Note that a lot of function in EEGLAB work in the same way
(pop_spectopo [spectrum plotting], pop_crossf [coherence], pop_erpimage
[ERPimage], ...).<br>
<br>
Hope this helps,<br>
<br>
Arno<br>
<br>
<br>
Rich Ehrlichman wrote:
<blockquote
cite="mid78317c9f0610160916k6aa33140l3d0422b22ecddfe@mail.gmail.com"
type="cite">
<pre wrap="">Hi all,
I am currently using EEGlab to analyze single channel recordings.
The data is originally recorded from Spike2 version 6. I can import
the data and markers from ascii files with no problems and use the GUI
to do ERP and wavelet analysis. What I would like to know is, once I
plot the time/frequency channel analysis how can I export that data in
a form which I can input to a stats program such as Statistica?
Also, if anyone has any tips or examples for statistical analysis of
time/frequency data from EEGlab I would appreciate it. For our setup
we generally have single channel recordings of subject groups (n=~8).
Mostly auditory gating tasks in either a between or within subjects
repeated measures study design.
Thank you,
Rich
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<br>
<b><font face="Arial,Helvetica"><font size="+1">Arnaud Delorme, Ph.D.</font></font></b>
<br>
<font face="Arial,Helvetica"><font size="+1"><font color="#3333ff">Swartz
Center for Computational Neuroscience,</font> <font color="#3333ff">INC,
University of San Diego California</font></font></font>
<br>
La Jolla, CA92093-0961, USA
<p><font face="Arial,Helvetica"><b>Tel</b> :<i>(+1)-858-458-1927 ext 15</i></font>
<br>
<font face="Arial,Helvetica"><b>Fax</b> :<i>(+1)-858-458-1847</i></font>
<br>
<font face="Arial,Helvetica"><b>Web page</b>: <a
href="http://www.sccn.ucsd.edu/%7Earno">sccn.ucsd.edu/~arno</a></font>
<br>
<font face="Arial,Helvetica"><b>To think upon</b>:</font></p>
<blockquote><dt><font face="Arial,Helvetica"> If only we could pull out
our brain and use only our eyes.
<font size="-5"><br>
<br>
</font></font></dt>
<dd><font face="Arial,Helvetica"><i>Pablo Picasso</i></font></dd>
</blockquote>
</div>
</body>
</html>