[Eeglablist] pop_eegfiltnew help

Yamil Vidal Dos Santos hvidaldossantos at gmail.com
Tue Nov 29 13:49:50 PST 2016


Hi again,
Is equivalent. And actually, you don't need to specify model order, as the
EEGLAB function can pick it automatically.
For example I use it as follows.

EEG = pop_eegfiltnew(EEG, [], 0.1, [], true, [], 0); % Highpass filter 0.1
Hz
EEG = pop_eegfiltnew(EEG, [], 30, [], false, [], 0); % Lowpass filter 30 Hz

I haven't tested but if for any reason you don't want to use revfilt, use
this:
EEG = pop_eegfiltnew(EEG, 0.1, [], [], false, [], 0); % Highpass filter 0.1
Hz

You can always just pick one of your datasets, try different filter setting
and plot the spectra to test the result.
Have fun,
Yamil


On Tue, Nov 29, 2016 at 10:23 PM, Ahmad, Jumana <jumana.ahmad at kcl.ac.uk>
wrote:

> Hi all,
> Thank you for your reply Yamil.
> 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?
> Do I have to repeat the filtering I've already done? Or is it equivalent?
> Thank you and best wishes,
> Jumana
>
>
> On 29 Nov 2016, at 18:03, Yamil Vidal Dos Santos <
> hvidaldossantos at gmail.com> wrote:
>
> Hi,
> Is because the 5th parameter (revfilt) is set to true, which indeed
> reverses the direction of the filter, turning the lowpass into a hipass.
> I was also confused the first time.
> Cheers,
> Yamil
>
> On 29 Nov 2016 18:55, "Ahmad, Jumana" <jumana.ahmad at kcl.ac.uk> wrote:
>
> Dear all,
>
> 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.
>
> In EEGlab history this gave:
>
>
>
> EEG = pop_eegfiltnew(EEG, [], 1, 1650, true, [], 1);
>
>
>
> 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?
>
>
>
> I thought the function was: function [EEG, com, b] = pop_eegfiltnew(EEG, locutoff, hicutoff, filtorder, revfilt, usefft, plotfreqz)
>
>
>
> Thank you,
>
> Jumana
>
>
>
> *------------------------------------------*
>
> *Jumana Ahmad*
>
> Post-Doctoral Research Worker in Cognitive Neuroscience
>
> *EU-AIMS Longitudinal European Autism Project (LEAP) & SynaG Study*
>
> 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
>
>
>
> *Phone:* 0207848 0260| *Email:* jumana.ahmad at kcl.ac.uk
> <antonia.sanjose at kcl.ac.uk> | *Website:* www.eu-aims.eu
> <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>
>  | *Facebook:* www.facebook.com/euaims
> <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>
>
>
>
> ************************************************************
> ***************************
>
> ************************************************************
> ***************************
>
> *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. *
>
> ************************************************************
> ***************************
>
> ************************************************************
> ***************************
>
>
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> <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>
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.uc
> sd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20161129/2897f313/attachment.html>


More information about the eeglablist mailing list