<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="WordSection1"></div>
<div class="WordSection1">
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
Dear fieldtrippers,</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
 </p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
I’m following our lab protocol for pre-processing of EEG data – but implementing it in Fieldtrip rather than Brain Vision Analyzer. So far things are great. However, I’m going back to preprocessing stage because ideally I would like to stick as closely to the
 procedure we use for automated artifact/channel rejection in BVA but am wondering about the most efficient way to implement this in fieldtrip.</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
 </p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
What I have done in fieldtrip is:</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
<span style=""><span style="">1.<span style="font:7.0pt "Times New Roman"">      </span>
</span></span>Remove channels that were marked as bad during recording and interpolated them.</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
<span style=""><span style="">2.<span style="font:7.0pt "Times New Roman"">      </span>
</span></span>After lots of playing around, find zvalue cutoff settings that I’m comfortable with and use the same settings on every participant for jump artifacts, muscle artifacts and eye movements and remove these using ft_rejectartifact (conservative but
 easily replicable).</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
<span style=""><span style="">3.<span style="font:7.0pt "Times New Roman"">      </span>
</span></span>I then quickly scrolled through each trial using ft_rejectvisual to make sure all channels looked ok – any really messy noisy channels I then made a note of and repeated steps 1 and 2 above.</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
I’m not happy with this step 3 however, because it is quite subjective. </p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
 </p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
The way that we identify bad channels in BVA which I would ultimately like to implement is:</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
<span style=""><span style="">1.<span style="font:7.0pt "Times New Roman"">      </span>
</span></span>Mark trials as bad where a channel is present that has:<br>
</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;margin-left:72.0pt; text-indent:-18.0pt">
a<span style=""><span style="">.<span style="font:7.0pt "Times New Roman"">      </span>
</span></span>Low activity of less than 0.5 microvolts in any 100ms interval</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;margin-left:72.0pt; text-indent:-18.0pt">
b<span style=""><span style="">.<span style="font:7.0pt "Times New Roman"">      </span>
</span></span>Noisy activity where the absolute max-min voltage in any 200ms interval is greater than 200 microvolts (sometimes this is 100Uv depends on expected motor activity in paradigm).</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
<span style=""><span style="">2.<span style="font:7.0pt "Times New Roman"">      </span>
</span></span>Identify, for every channel, the percentage of data that is being marked as bad – if this is higher than a given threshold (i.e. 25%), then remove the channel and/or interpolate.</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
<span style=""><span style="">3.<span style="font:7.0pt "Times New Roman"">      </span>
</span></span>Rerun step 1 and remove bad trials.</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
 </p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
What I am planning to do in Fieldtrip, but would appreciate some input from those more experienced is:</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
 </p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
<span style=""><span style="">1.<span style="font:7.0pt "Times New Roman"">   </span>
</span></span>Remove trials with eyeblinks etc using the Fieldtrip methods described above</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
2.  Split each trial segment into 100ms or 200ms intervals</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
3. Calculate the max-min per channel in order to identify intervals that have low voltage or noisy activity etc as per a and b above </p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
4. Keep track of the proportion of trials/intervals that any given channel is identified as bad so that I can remove those channels that are above a threshold (i.e. 25%).</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
<br>
</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
Is there a more efficient way to implement something like this? Am I missing out on a great Fieldtrip tool?</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
<br>
</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
Please advise</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
Thanks</p>
<p class="MsoListParagraph" style="margin: 0cm 0cm 0pt 36pt; font-family: "Calibri",sans-serif; font-size: 11pt;text-indent:-18.0pt">
<br>
</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
<a name="_MailAutoSig"><b><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#757B80">---------------------------------------------------------------------</span></b></a><span style=""><span style="font-size:12.0pt; color:black"><br>
</span></span><span style=""><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#757B80">Poppy Watson</span></span><br>
</p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
<span style=""><b><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#757B80">---------------------------------------------------------------------</span></b></span><span style=""><span style="font-size:12.0pt; color:black"></span></span></p>
<span style=""></span>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
 </p>
</div>
</body>
</html>