<p dir="ltr">Hi, <br>
Is because the 5th parameter (revfilt) is set to true, which indeed reverses the direction of the filter, turning the lowpass into a hipass.<br>
I was also confused the first time. <br>
Cheers, <br>
Yamil</p>
<div class="gmail_extra"><br><div class="gmail_quote">On 29 Nov 2016 18:55, "Ahmad, Jumana" <<a href="mailto:jumana.ahmad@kcl.ac.uk">jumana.ahmad@kcl.ac.uk</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="m_-1161165571342314276WordSection1">
<p class="MsoNormal">Dear all,<u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">I am trying to create a 1Hz dataset. I followed your advice to do this first with the GUI. As I want a high pass filter of 1Hz I entered 1 into the lower edge of the frequency pass band.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">In EEGlab history this gave:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">EEG = pop_eegfiltnew(EEG, [], 1, 1650, true, [], 1);</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New""><u></u> <u></u></span></p>
<pre><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">However, is the 1 not in the wrong place now? Should not the high pass value go first? From above it seems like [] and 1 should swap places? <u></u><u></u></span></pre>
<pre><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></pre>
<pre><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I thought the function was: </span><span style="color:black">function [EEG, com, b] = pop_eegfiltnew(EEG, locutoff, hicutoff, filtorder, revfilt, usefft, plotfreqz)<u></u><u></u></span></pre>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Thank you,<u></u><u></u></span></p>
<p class="MsoNormal">Jumana <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;color:#1f497d">------------------------------<wbr>------------</span></b><span style="font-family:"Helvetica",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;color:#1f497d;background:#ffee94">Jumana Ahmad</span></b><span style="font-family:"Helvetica",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:#1f497d">Post-Doctoral Research Worker in Cognitive Neuroscience </span><span style="font-family:"Helvetica",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><i><span style="font-size:10.0pt;color:#1f497d">EU-AIMS Longitudinal European Autism Project (LEAP) & SynaG Study</span></i><span style="font-family:"Helvetica",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:#1f497d">Room M1.09. Department of Forensic and Neurodevelopmental Sciences (PO 23) | Institute of Psychiatry, Psychology & Neuroscience | King’s College
 London | 16 De Crespigny Park | London SE5 8AF</span><span style="font-family:"Helvetica",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:#1f497d"> </span><span style="font-family:"Helvetica",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;color:#1f497d">Phone:</span></b><span style="font-size:10.0pt;color:#1f497d"> </span><span lang="EN-US" style="font-size:10.0pt;color:navy">0207848
 0260</span><span style="font-size:10.0pt;color:#1f497d">| <b>Email:</b> <span style="background:#ffee94">jumana.ahmad</span></span><span style="color:black"><a href="mailto:antonia.sanjose@kcl.ac.uk" target="_blank"><span style="font-size:10.0pt;color:purple">@kcl.<wbr>ac.uk</span></a></span><span style="font-size:10.0pt;color:#1f497d"> | <b>Website:</b> </span><span style="color:black"><a href="http://www.eu-aims.eu/" target="_blank"><span style="font-size:10.0pt;color:purple">www.eu-aims.<wbr>eu</span></a></span><span style="font-size:10.0pt;color:#1f497d"> | <b>Facebook:</b> </span><span style="color:black"><a href="http://www.facebook.com/euaims" target="_blank"><span style="font-size:10.0pt;color:purple">www.facebook.<wbr>com/euaims</span></a></span><span style="font-family:"Helvetica",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">******************************<wbr>******************************<wbr>***************************<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">******************************<wbr>******************************<wbr>***************************<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1f497d">We are currently looking for volunteers with mild intellectual disability to be part of our exciting and world-leading European project into brain development and
 social behaviour. Please, do get in touch if you know of anyone who may be interested in taking part.
</span></b><span style="font-size:10.0pt;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">******************************<wbr>******************************<wbr>***************************<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">******************************<wbr>******************************<wbr>***************************<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/<wbr>eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.<wbr>ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.<wbr>edu</a><br></blockquote></div><br></div>