[Mne_analysis] Why does MNE resample method does not sample the data point to point?

Eric Larson larson.eric.d at gmail.com
Thu Jul 23 13:40:57 EDT 2020
Search archives:

        External Email - Use Caution        

>
> > AFAIK, scipy.signal.resample doesn't include an anti-aliasing filter,
> but both scipy.signal.resample_poly as well as scipy.signal.decimate apply
> such a low-pass filter before resampling. That's also what MNE does.
>

scipy.signal.resample does frequency-domain resampling, so implicitly uses
a brick-wall filter at Nyquist when downsampling (unless you specify
something for the `window` argument, which gets applied in the frequency
domain in addition to the effective brick-wall filter).

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200723/d2ce2e88/attachment.html 


More information about the Mne_analysis mailing list