<div dir="ltr"><div>Hi again,<br>Is equivalent. And actually, you don't need to specify model order, as the EEGLAB function can pick it automatically.<br></div>For example I use it as follows.<br><div><br>EEG = pop_eegfiltnew(EEG, [], 0.1, [], true, [], 0); % Highpass filter 0.1 Hz<br>EEG = pop_eegfiltnew(EEG, [], 30, [], false, [], 0); % Lowpass filter 30 Hz<br><br></div><div>I haven't tested but if for any reason you don't want to use revfilt, use this:<br>EEG = pop_eegfiltnew(EEG, 0.1, [], [], false, [], 0); % Highpass filter 0.1 Hz<br><br></div><div>You can always just pick one of your datasets, try different filter setting and plot the spectra to test the result.<br></div><div>Have fun,<br></div><div>Yamil<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 29, 2016 at 10:23 PM, Ahmad, Jumana <span dir="ltr"><<a href="mailto:jumana.ahmad@kcl.ac.uk" target="_blank">jumana.ahmad@kcl.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="auto">
<div>Hi all,</div>
<div>Thank you for your reply <span style="background-color:rgba(255,255,255,0)">
Yamil. </span></div>
<div>How do I get the GUI to not use a reverse filter? I am only using the GUI to get an automatic setting for the filter length/order. If I now swapped the location of the 1, and set the reverse to false should the filter order change? </div>
<div>Do I have to repeat the filtering I've already done? Or is it equivalent?</div>
<div>Thank you and best wishes,</div>
<div>Jumana <br>
<br>
</div><div><div class="h5">
<div><br>
On 29 Nov 2016, at 18:03, Yamil Vidal Dos Santos <<a href="mailto:hvidaldossantos@gmail.com" target="_blank">hvidaldossantos@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<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" target="_blank">jumana.ahmad@kcl.ac.uk</a>> wrote:<br type="attribution">
<blockquote class="m_-1365341712107634237quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-GB">
<div class="m_-1365341712107634237m_-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 style="font-size:10.0pt;color:navy" lang="EN-US">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="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eu-aims.eu%2F&data=01%7C01%7Cjumana.ahmad%40kcl.ac.uk%7C08508dc5434d4436812308d41882110d%7C8370cf1416f34c16b83c724071654356%7C0&sdata=fqKI2gKgmAtnnIzxbxbDJpszHLE%2Ft1zOQGonrNpUBew%3D&reserved=0" target="_blank"><span style="font-size:10.0pt;color:purple">www.eu-aims.e<wbr>u</span></a></span><span style="font-size:10.0pt;color:#1f497d"> | <b>Facebook:</b> </span><span style="color:black"><a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.facebook.com%2Feuaims&data=01%7C01%7Cjumana.ahmad%40kcl.ac.uk%7C08508dc5434d4436812308d41882110d%7C8370cf1416f34c16b83c724071654356%7C0&sdata=2WadfHxyqbFoSQcKIHWPsDFtpBgsxB9Ck0dV1PpmLmw%3D&reserved=0" target="_blank"><span style="font-size:10.0pt;color:purple">www.facebook.com<wbr>/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="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsccn.ucsd.edu%2Feeglab%2Feeglabmail.html&data=01%7C01%7Cjumana.ahmad%40kcl.ac.uk%7C08508dc5434d4436812308d41882110d%7C8370cf1416f34c16b83c724071654356%7C0&sdata=F%2BKLZRbCc6JZMuhOL4WCiVwmD%2FPAxDMe2iPJKF%2F58TI%3D&reserved=0" rel="noreferrer" target="_blank">
http://sccn.ucsd.edu/eeglab/ee<wbr>glabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">
eeglablist-unsubscribe@sccn.uc<wbr>sd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">
eeglablist-request@sccn.ucsd.e<wbr>du</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div></div></div>

</blockquote></div><br></div>