<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--p
{white-space: pre-wrap;}
li
{white-space: pre-wrap;}
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"DejaVu Sans";
panose-1:2 11 6 3 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<meta name=qrichtext content=1>
</head>
<body lang=DE link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Hi Marco, <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>you might want to try:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>cfg.artfctdef.eog.channel
= {your EOG channel(s)};<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Nina<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> FieldTrip
discussion list [mailto:FIELDTRIP@NIC.SURFNET.NL] <b><span style='font-weight:
bold'>Im Auftrag von </span></b>Paolo Toffanin<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Montag, 26. Oktober 2009
15:09<br>
<b><span style='font-weight:bold'>An:</span></b> FIELDTRIP@NIC.SURFNET.NL<br>
<b><span style='font-weight:bold'>Betreff:</span></b> Re: [FIELDTRIP] importing
raw data</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face="DejaVu Sans"><span style='font-size:9.0pt;
font-family:"DejaVu Sans"'>Did you try including also eye channels into the
analysis? <br>
<br>
<o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 face="DejaVu Sans"><span
style='font-size:9.0pt;font-family:"DejaVu Sans"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face="DejaVu Sans"><span style='font-size:9.0pt;
font-family:"DejaVu Sans"'>Paolo<br>
<br>
<o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 face="DejaVu Sans"><span
style='font-size:9.0pt;font-family:"DejaVu Sans"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 face="DejaVu Sans"><span style='font-size:9.0pt;
font-family:"DejaVu Sans"'>On Monday 26 October 2009 02:42:28 pm Marco Rotonda
wrote:<br>
> Hi there,<br>
> I'm trying to import a raw data file to perform artifacting.<br>
> The file I have is quite simple: 2 channels and only data sampled at 256.<br>
> I did the following operations:<br>
><br>
> FF = (csvread('FF.txt', 2, 0))';<br>
> data.trial{1} = FF;<br>
> data.time{1} = linspace(0,180,46080);<br>
> data.fsample=256;<br>
> data.label={'F3';'F4'};<br>
> data.cfg.trl=[1,46080,0];<br>
> cfg.continuous='yes';<br>
> cfg.trl=[1,46080,0];<br>
> cfg.channel={'F3';'F4'};<br>
> cfg2=artifact_eog(cfg,data);<br>
><br>
> but then I have the following message error:<br>
><br>
> ??? Error using ==> artifact_zvalue at 202<br>
> no channels selected<br>
><br>
> Error in ==> artifact_eog at 179<br>
> [tmpcfg, artifact] = artifact_zvalue(tmpcfg,<br>
> data);<br>
><br>
> What I miss?<br>
><br>
> in artifact_zvalue from 197:<br>
><br>
> cfg.artfctdef.zvalue.channel =<br>
> channelselection(cfg.artfctdef.zvalue.channel, hdr.label);<br>
> sgnind = match_str(hdr.label, cfg.artfctdef.zvalue.channel);<br>
> numsgn = length(sgnind);<br>
><br>
> if numsgn<1<br>
> error('no channels selected');<br>
> else<br>
> fprintf('searching for artifacts in %d channels\n', numsgn);<br>
> end<br>
><br>
><br>
> So I added:<br>
><br>
> cfg.artfctdef.zvalue.channel={'F3';'F4'};<br>
><br>
> but I get the same error<br>
> it seems that I need the header... but I have not.<br>
> is it?<br>
><br>
> ----------------------------------<br>
> The aim of this list is to facilitate the discussion between users of the<br>
> FieldTrip toolbox, to share experiences and to discuss new ideas for MEG<br>
> and EEG analysis. See also<br>
> http://listserv.surfnet.nl/archives/fieldtrip.html and<br>
> http://www.ru.nl/neuroimaging/fieldtrip.<br>
<br>
<o:p></o:p></span></font></p>
<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 face="DejaVu Sans"><span
style='font-size:9.0pt;font-family:"DejaVu Sans"'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
<p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p> http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p> http://www.ru.nl/fcdonders/fieldtrip/</p>
<p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p> http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p> http://www.ru.nl/fcdonders/fieldtrip/</p>