<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi Stephan,
<div><br>
</div>
<div>It could be that this is a genuine bug. Could you create an account on <a href="http://bugzilla.fieldtriptoolbox.org">
bugzilla.fieldtriptoolbox.org</a>, and file a ‘bug’ about this? Then we take it off list, and investigate further. It would be really helpful if you also could get us some of your data (which goes with the script you sent earlier) that is giving you trouble.
Some more information about the process can be found on: <a href="http://www.fieldtriptoolbox.org/bugzilla">http://www.fieldtriptoolbox.org/bugzilla</a></div>
<div><br>
</div>
<div>Best regards,</div>
<div>Jan-Mathijs</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Jan-Mathijs Schoffelen, MD PhD, Senior researcher
<div><br>
Max Planck Institute for Psycholinguistics<br>
Donders Centre for Cognitive Neuroimaging</div>
<div><br>
E-mail: <a href="mailto:j.schoffelen@donders.ru.nl">j.schoffelen@donders.ru.nl</a><br>
Telephone: +31-24-3614793<br>
<br>
</div>
<div><a href="http://www.fieldtriptoolbox.org">http://www.fieldtriptoolbox.org</a></div>
<div><a href="http://www.hettaligebrein.nl">http://www.hettaligebrein.nl</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<div><br>
<div>
<div>On Oct 2, 2015, at 8:44 PM, Steph Bickel <<a href="mailto:bick35@gmail.com">bick35@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hello,</div>
<div class=""><br class="">
</div>
<div class="">sorry for re-posting this, but I was wondering if someone had an idea what is going wrong here? Is there something wrong with my configuration?</div>
<div class=""><br class="">
</div>
<div class="">Thank you!</div>
<div class=""><br class="">
</div>
<div class="">Stephan</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Sep 26, 2015, at 11:54 PM, Steph Bickel <<a href="mailto:bick35@gmail.com" class="">bick35@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hello fieldtrip experts,</div>
<div class=""><br class="">
</div>
<div class="">a script that used to work gives me problems now. </div>
<div class=""><br class="">
</div>
<div class="">When I specify subsets of channels to import it will correctly only import the selected label but in the trial field it will have all channels imported. </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class="">cfg=[];</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class="">cfg.dataset = edf_file ;</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class="">cfg.continuous = ‘yes’;</div>
<div style="margin: 0px;" class=""><font face="Courier" size="1" class="">cfg.demean = ‘yes' </font><font face="Courier" size="1" class="">;</font></div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class="">cfg.channel = ‘Event' ;</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class="">raw = ft_preprocessing(cfg);</div>
</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class=""><br class="">
</div>
<div style="margin: 0px;" class="">
<div style="margin: 0px;" class=""><font face="Courier" size="1" class="">raw = </font></div>
<div style="margin: 0px;" class=""><font face="Courier" size="1" class=""><br class="">
</font></div>
<div style="margin: 0px;" class=""><font face="Courier" size="1" class=""> hdr: [1x1 struct]</font></div>
<div style="margin: 0px;" class=""><font face="Courier" size="1" class=""> label: {'Event'}</font></div>
<div style="margin: 0px;" class=""><font face="Courier" size="1" class=""> time: {[1x152082 double]}</font></div>
<div style="margin: 0px;" class=""><font face="Courier" size="1" class=""> trial: {[129x152082 double]}</font></div>
<div style="margin: 0px;" class=""><font face="Courier" size="1" class=""> fsample: 499.7071</font></div>
<div style="margin: 0px;" class=""><font face="Courier" size="1" class=""> sampleinfo: [1 152082]</font></div>
<div style="margin: 0px;" class=""><font face="Courier" size="1" class=""> cfg: [1x1 struct]</font></div>
</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class="">
<div style="font-family: Tahoma; font-size: 13px;" class="">It seems that read_edf.m is being called and at line 351 the chanindx is being overwritten by EDF.chansel (which is being read out of the edf header directly). Do I see this correctly or am I setting
wrong parameters?</div>
</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier;" class="">
<div style="margin: 0px;" class=""> <span style="color: #0433ff" class="">if</span> isfield(EDF,
<span style="color: #b245f3" class="">'chansel'</span>)</div>
<div style="margin: 0px;" class=""> chanindx = EDF.chansel;</div>
<div style="margin: 0px;" class=""> chanSel = 1;</div>
<div style="margin: 0px; color: rgb(4, 51, 255);" class=""><span style="" class="">
</span>else</div>
<div style="margin: 0px;" class=""> chanindx = [1:EDF.NS]; </div>
<div style="margin: 0px;" class=""> chanSel = 0;</div>
<div style="margin: 0px;" class=""> <span style="color: #0433ff" class="">end</span>;</div>
<div class=""><br class="">
</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Thank you!</div>
<div class=""><br class="">
</div>
<div class="">Stephan </div>
<div class=""><br class="">
</div>
<div class="">(I’m using the current github field trip version on a mac) </div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote>
</div>
<br>
</div>
<div apple-content-edited="true">
<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;">
<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;">
<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;">
<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;">
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</body>
</html>