<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi, <br>
<blockquote
cite="mid:CANtJEmAvKgZ=ata_mom3O9J6gM5jq53jzcj_Rzf4Yw9J-_W=Yg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div><br>
</div>
<div>1) What is the unit measure of the output values? (i.e.
is it mV, mV^2, or dB?)</div>
</div>
</blockquote>
The output is expressed as power values (10*log(microV^2). <br>
They are taken from the <b>average_spec</b> variable from within
the <b>designN_subj.datspec</b> files.<br>
<br>
Makoto, would you confirm if I'm right, that <b>average_spec </b>contains
power values?<br>
<blockquote
cite="mid:CANtJEmAvKgZ=ata_mom3O9J6gM5jq53jzcj_Rzf4Yw9J-_W=Yg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>2) I was unable to include a second independent variable
and call it VAR2, but I was able to let the 2nd var take on
the condition titles (e.g. 'High' and 'Low' conditions).
Therefore, this changed my study into a 2x2 design though I
was able to modify the code to ignore files that were
missing when the script tried to look for such files
associated with a 2x2 design. Would this have any impact on
the final output?</div>
<div><br>
</div>
</div>
</blockquote>
No, it won't affect the results. <br>
<br>
By "VAR2" I meant the second independent variable in a study
design. It doesn't require to be called like this. I intended to
use any conditions as a second IV.<br>
Eric, could you upload somewhere some of your sets including study
design? I could check and fix the script to run with your designs.
I will also test it on different designs on my data.<br>
<br>
<br>
<b>Important!</b> I've just noticed that this script works fine
when the sampling freq is set to 256Hz as I usually do.<br>
I will fix it soon to read any sampling freq and post it again.<br>
<br>
<br>
PS. Makoto, honestly, I was thinking about writing a plugin from
some time. Moreover, I've also coded averaged ERP window export
for electrodes and clusters. <br>
I will take a look at the scripts again, and think seriously about
making a plugin.<br>
<br>
<br>
<br>
<span class="moz-txt-tag">-- <br>
</span>Mirek Wyczesany
<br>
Psychophysiology Lab
<br>
Jagiellonian University
<br>
Kraków, PL
<br>
<br>
</div>
</body>
</html>