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

balandongiv at gmail.com balandongiv at gmail.com
Thu Jul 23 08:28:17 EDT 2020
Search archives:

        External Email - Use Caution        

While trying with the mne downsampling module, I encountered some behavior
that I am unable to explain myself.


My understanding of downsampling is that it is an operation to decrease the
sample rate of x by keeping the first sample and then every nth sample after
the first.

The example provided from the resample method of scipy package clearly
illustrated about this operation as depicted the picture which is accessible
from the link (
tml) or as extracted below




In an enlarged view, it is evident that the original data points were
resampled point by point.



However, using the mne example of downsampling which accessible via the link

:  <https://mne.tools/dev/auto_examples/preprocessing/plot_resample.html>

, I notice that the data points were not resampled point by point as
illustrated visually below







This given that, mne resample is based on the resample method of scipy
package as indicated from mne resample function as shown:




May I know whether this issue is due to the ringing artifacts or due to
other problems?


Also, are there remedies to mitigate this problem.



Thanks for any insight. Appreciate it







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200723/092e4d51/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 15565 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200723/092e4d51/attachment-0001.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 51215 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200723/092e4d51/attachment-0001.png 

More information about the Mne_analysis mailing list