<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style><style type="text/css"></style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hey Mats,<br>
<br>
the "old" refers to you calling <font color="black" size="2" face="Tahoma"><span style="font-size:10pt;" dir="ltr"><font color="#222222" size="1" face="arial,sans-serif"><span style="font-size:12.79px;background-color:white;"><i>ft_artifact_zvalue_old,
</i></span></font></span></font>instead of <font color="black" size="2" face="Tahoma">
<span style="font-size:10pt;" dir="ltr"><font color="#222222" size="1" face="arial,sans-serif"><span style="font-size:12.79px;background-color:white;"><i>ft_artifact_zvalue,</i></span></font></span></font> which is also the function used in the FT tutorial.
There are likely to be various differences between the 'old', and current code, perhaps this explains why the jumps aren't being detected.<br>
<br>
Cheers,<br>
Nietzsche <br>
<font color="black" size="2" face="Tahoma"><span style="font-size:10pt;" dir="ltr"><font color="#222222" size="1" face="arial,sans-serif"><span style="font-size:12.79px;background-color:white;"><i><br>
</i></span></font></span></font>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF965005"><font color="#000000" size="2" face="Tahoma"><b>From:</b> fieldtrip-bounces@science.ru.nl [fieldtrip-bounces@science.ru.nl] on behalf of Es, M.W.J. van (Mats) [M.vanEs@donders.ru.nl]<br>
<b>Sent:</b> 10 July 2015 14:19<br>
<b>To:</b> fieldtrip@science.ru.nl<br>
<b>Subject:</b> Re: [FieldTrip] Jump artifacts not detected<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi Jan Matthijs,
<div><br>
</div>
<div>I do not think that the problem lies in the size of the jump: when I artificially create a very large jump in my data the jump is also not detected, see code.</div>
<div><br>
</div>
<div><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)">data_short.trial{1}(132,1:700)</span><wbr style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)">=0;
%channel 132 is MRC11</span><br style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)">data_short.trial{1}(132,701:</span><wbr style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)">1441)=1;
%data 'jumps' up to 1 and stays there (massively bigger jump than actual squid jump).</span></div>
<div><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)">You are right that if the 'muscle' algorithm picks up the jump, there is no problem. However, I don't know if this algorithm
picks up the jumps consistently. (I did find 10 jumps in one dataset and zero in another, which I know is plausible but still).</span></div>
<div><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)"><br>
</span></div>
<div><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)">About my code: could you refer me to the newer version of the code? The code I use was on the fieldtrip tutorial </span><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)">(</span><font style="font-size:13.3333330154419px" color="#222222" face="arial, sans-serif"><span style="font-size:12.8000001907349px">http://www.fieldtriptoolbox.org/tutorial/automatic_artifact_rejection).</span></font><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)"> </span></div>
<div><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)"><br>
</span></div>
<div><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)">Best,</span></div>
<div><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:12.8000001907349px; background-color:rgb(255,255,255)">Mats</span></div>
</div>
</div>
</div>
</div>
</body>
</html>