<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi Ashley,
<div><br>
</div>
<div>Maybe the mistake is you did not integrate in your script the command to save the rejection. Normally, with the following command, you will see in the Matlab Window that artifacts are correctly rejected after the "quit" button.</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-size: 10px; font-family: Courier; color: rgb(37, 153, 45); ">
<span style="color: #000000">clean_data = ft_rejectvisual(cfg, interpoldata); </span></div>
<div style="margin: 0px; font-size: 10px; font-family: Courier; color: rgb(37, 153, 45); ">
<span style="color: #000000">cfg.artfctdef.reject = </span><span style="color: #b245f3">'complete'</span><span style="color: #000000">; </span></div>
<div style="margin: 0px; font-size: 10px; font-family: Courier; ">cfg.artfctdef.feedback =
<span style="color: #b245f3">'yes'</span>;</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier; ">cleandata = ft_rejectartifact(cfg,clean_data);</div>
<div style="margin: 0px; font-size: 10px; font-family: Courier; "><br>
</div>
<div style="margin: 0px; ">Emilie</div>
<div><br>
</div>
<div apple-content-edited="true">
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<p class="MsoNormal"><br>
</p>
</div>
</div>
<div><br>
</div>
<br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>Le 3 sept. 2014 à 11:58, Ashley Greene <<a href="mailto:agreene24@gmail.com">agreene24@gmail.com</a>> a écrit :</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>Hello,<br>
<br>
</div>
I have used the rejectvisual function in attempt to remove bad trials, but after marking them and pressing the quit button, although the command window states that the selected trials have been removed, there is no obvious change in the data; all of the trials
are still intact. Have I overlooked something?<br>
<br>
</div>
Thanks,<br>
<br>
</div>
Ashley<br>
</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>
</body>
</html>