<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear fieldtrippers,<div class="">     I am processing MEG data acquired by CTF275 and I want to do filters in continuous raw data and then epoch them according to triggers. But I got warnings which were displayed below the code.</div><div class=""><div class=""><br class=""></div><div class=""><font color="#11053b" class="">Here is my code:</font></div><div class=""><div style="margin: 0px;" class=""><span style="font-size: 10px; font-family: Courier;" class="">    </span><font face="Courier" size="4" class="">cfg = [];</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.dataset    = dataset.ds;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.continuous = <span style="color: #b245f3" class="">'yes'</span>;   </font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.channel = <span style="color: #b245f3" class="">'meg'</span>;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    raw_data = ft_preprocessing(cfg);</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg = [];</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.lpfilter   =  <span style="color: #b245f3" class="">'yes'</span>;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.lpfreq     =  30;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.hpfilter   =  <span style="color: #b245f3" class="">'yes'</span>;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.hpfreq     =   1;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.dftfilte   =   <span style="color: #b245f3" class="">'yes'</span>;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.dftfreq    =   50;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    conti_filt     = ft_preprocessing(cfg,raw_data);</font></div></div><div class=""><font face="Courier" size="4" class="">       cfg=[];</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.dataset             = [subjectdata.subjectdir filesep subjectdata.datadir{f_n}];</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class=""><font color="#25992d" class="">    </font><font color="#11053b" class="">cfg.trialdef.eventtype  = 'frontpanel trigger';</font></font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.trialdef.eventvalue = 3;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.trialdef.pre        = 0.5;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.trialdef.post       = 1.2;</font></div><p style="margin: 0px; min-height: 12px;" class=""><font face="Courier" size="4" class="">        <br class="webkit-block-placeholder"></font></p><div style="margin: 0px;" class=""><font face="Courier" size="4" color="#2e073e" class="">    cfg.continuous            = 'yes';</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.trialfun            = <span style="color: #b245f3" class="">'ft_trialfun_crn'</span>;   <span style="color: #25992d" class="">% self defined trl function</span></font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.channel             = <span style="color: #b245f3" class="">'MEG'</span>;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg.layout              = <span style="color: #b245f3" class="">'MEG.lay'</span>;</font></div><div style="margin: 0px;" class=""><font face="Courier" size="4" class="">    cfg                     = ft_definetrial(cfg);</font></div><div class=""><font face="Courier" size="4" class="">    data_filt = ft_preprocessing(cfg, conti_filt);</font></div><div class=""><div class=""><font color="#831100" class="">Warning: The field cfg.trl is forbidden, it will be removed from your configuration</font></div><div class=""><font color="#831100" class="">The field cfg.dataset is forbidden, it will be removed from your configuration</font></div><div class=""><font color="#831100" class="">The field cfg.datafile is forbidden, it will be removed from your configuration</font></div><div class=""><font color="#831100" class="">The field cfg.headerfile is forbidden, it will be removed from your configuration</font></div></div><div class=""><br class=""></div><div class="">I have stuck in this question a whole night, please help! Thank you very much!</div><div class=""><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Best wishes,</div><div class="">Runnan</div><div class=""><a href="mailto:runna90@126.com" class="">runna90@126.com</a></div><div class="">Institute of Biophysics, </div><div class="">Chinese Academy of Science,</div><div class="">Beijing, China</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>