<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (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><!--
/* Font Definitions */
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.m2638943381933682025hoenzb
        {mso-style-name:m_2638943381933682025hoenzb;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi Sunny,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Yes, the FieldTrip NIRS plugin works for all our devices. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>With best regards,<o:p></o:p></p><p class=MsoNormal>Jörn<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:NL'>--<span style='color:#255A9E'><br>Jörn M. Horschig, PhD</span></span></b><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:#626264;mso-fareast-language:NL'>, Project Leader & Software Engineer<br><a href="http://www.artinis.com/" target="_blank"><span style='color:#626264'>Artinis Medical Systems</span></a>  |  +31 481 350 980 <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1F497D'><a href="http://artinis.us3.list-manage1.com/subscribe?u=6bef931b76193f0e3d1dfe654&id=550bfdab46">Sign up for our NIRS newsletter</a></span><span style='font-size:13.5pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> <b>On Behalf Of </b>Sunny p<br><b>Sent:</b> Friday, July 27, 2018 20:41<br><b>To:</b> Arana, S.L. (Sophie) <S.Arana@donders.ru.nl><br><b>Cc:</b> FieldTrip discussion list <fieldtrip@science.ru.nl><br><b>Subject:</b> Re: [FieldTrip] Regarding Tutorial: Preprocessing and averaging of multi-channel NIRS data<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hello Sophie,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Once this tutorial is fully developed, Can we use this for OCTAMON (<a href="https://www.artinis.com/octamon/">https://www.artinis.com/octamon/</a>)  ?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks for your understanding and support.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Best Regards,<o:p></o:p></p></div><div><p class=MsoNormal>Sunny<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Jul 25, 2018 at 12:35 PM, Sunny p <<a href="mailto:sunnypitt1965@gmail.com" target="_blank">sunnypitt1965@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal>Hello Sophie,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks a lot for providing this code. I am making some changes that are useful. Can you please inform what is the variable 'data_func' in the code relates to. This is the last undefined variable in code.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks for your understanding and support.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Best Regards,<o:p></o:p></p></div><div><p class=MsoNormal>Sunny<o:p></o:p></p></div><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Jul 25, 2018 at 8:22 AM, Sunny p <<a href="mailto:sunnypitt1965@gmail.com" target="_blank">sunnypitt1965@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>Hello Sophie,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks a lot for your clarification. This is very useful.<o:p></o:p></p></div><div><p class=MsoNormal><span style='color:#888888'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span class=m2638943381933682025hoenzb><span style='color:#888888'>Sunny</span></span><o:p></o:p></p><div><div><p class=MsoNormal><br><br>On Wednesday, July 25, 2018, Arana, S.L. (Sophie) <<a href="mailto:S.Arana@donders.ru.nl" target="_blank">S.Arana@donders.ru.nl</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'>Dear Sunny, <o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'>the multi-channel NIRS data tutorial is currently under construction and will hopefully be fully available in a couple of weeks. Until then, there might still be some inconsistencies such as the one you have encountered.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'>The variable you refer to is indeed missing. It refers to a filtered version of the data, and you can created it by running the following code before the epoching.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'><o:p> </o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;text-align:justify'><span style='font-size:10.0pt;font-family:Courier;color:black'>cfg                 = [];</span><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'><o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;text-align:justify'><span style='font-size:10.0pt;font-family:Courier;color:black'>cfg.hpfilter        = 'yes';</span><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'><o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;text-align:justify'><span style='font-size:10.0pt;font-family:Courier;color:black'>cfg.hpfreq          = 0.01; </span><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'><o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;text-align:justify'><span style='font-size:10.0pt;font-family:Courier;color:black'>data_flt            = ft_preprocessing(cfg,data_down);</span><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'><o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;text-align:justify'><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'><o:p> </o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;text-align:justify'><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'>This should help you to continue with the tutorial, but please do keep in mind that we are currently working on it and you might encounter some other inconsistencies still later on.<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;text-align:justify'><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'><o:p> </o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;text-align:justify'><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'>Best,<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt;text-align:justify'><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'>Sophie<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'><o:p> </o:p></span></p></div></div><div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'><hr size=2 width="100%" align=center></span></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black'> fieldtrip [<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a>] on behalf of Sunny p [<a href="mailto:sunnypitt1965@gmail.com" target="_blank">sunnypitt1965@gmail.com</a>]<br><b>Sent:</b> Tuesday, July 24, 2018 9:24 PM<br><b>To:</b> <a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a><br><b>Subject:</b> [FieldTrip] Regarding Tutorial: Preprocessing and averaging of multi-channel NIRS data</span><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'><o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'>Hello All Good Day,</span><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'> <o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'>Hope you are doing fine,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'>Thanks a lot for providing with fieldtrip which is really useful to analyze fNIRS data. I have an issue in the "Preprocessing and averaging of multi-channel NIRS data" tutorial. Can you please help me with this issue?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'>Issue: In the  "</span><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black;background:white'>Preprocessing and averaging of multi-channel NIRS data" tutorial " <a href="http://www.fieldtriptoolbox.org/tutorial/nirs_multichannel" target="_blank"><span style='color:#1155CC'>http://www.fieldtriptoolbox.org/tutorial/nirs_multichannel</span></a></span><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black;background:white'>The "Epoch" section consists of a variable "data_flt.fsample" where "data_flt" variable is not defined. Can you please inform what is this variable related to? as this is needed to complete my analysis. </span><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black;background:white'><img border=0 width=401 height=50 style='width:4.177in;height:.5208in' id="_x0000_i1026" src="cid:image001.png@01D427E1.F07632F0"><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black;background:white'>Thanks for your understanding and support</span><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black;background:white'>Best Regards,<br>Sunny</span><span style='font-size:9.5pt;font-family:"Times New Roman",serif;color:black'><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'><o:p> </o:p></span></p></div></div></div></div></div></blockquote></div></div></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div><div id=DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=1 cellpadding=0 style='border:none;border-top:solid #D3D4DE 1.0pt'><tr><td width=55 style='width:41.25pt;border:none;padding:9.75pt .75pt .75pt .75pt'><p class=MsoNormal><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><span style='text-decoration:none'><img border=0 width=46 height=29 style='width:.4791in;height:.302in' id="_x0000_i1027" src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"></span></a><o:p></o:p></p></td><td width=470 style='width:352.5pt;border:none;padding:9.0pt .75pt .75pt .75pt'><p class=MsoNormal style='line-height:13.5pt'><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#41424E'>Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><span style='color:#4453EA'>www.avg.com</span></a> <o:p></o:p></span></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>