[Eeglablist] pop_eegfiltnew help
Andreas Widmann
widmann at uni-leipzig.de
Wed Nov 30 01:36:17 PST 2016
Dear Jumana,
the command line interface is indeed confusing here, I agree. This is due to historical reasons to maintain complete backward CLI compatibility with deprecated pop_eegfilt.
If the revfilt flag is true (as in your case) the filter is inverted. An inverted low-pass filter is a high-pass filter. Both versions,
EEG1 = pop_eegfiltnew(EEG, [], 1, 1650, true, [], 1);
and
EEG2 = pop_eegfiltnew(EEG, 1, [], 1650, false, [], 1);
give bit-identical results.
Hope this helps,
Andreas
> Am 28.11.2016 um 11:23 schrieb Ahmad, Jumana <jumana.ahmad at kcl.ac.uk>:
>
> 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 | Website: www.eu-aims.eu | Facebook: www.facebook.com/euaims
>
> ***************************************************************************************
> ***************************************************************************************
> 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
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu
More information about the eeglablist
mailing list