[Eeglablist] Resampling "artefacts" 512-500 Hz
widmann at uni-leipzig.de
Mon Jul 8 03:58:47 PDT 2019
from the sampling frequency I guess these are Biosemi data? Did you DC-correct (subtract mean per channel) or high-pass filter the data (before or after re-sampling)? In case not, could you please try first whether this solves the problem? In case the problem persists, could you please provide a sample file and the code of the preceding pre-processing steps (from eegh in case you used GUI).
> Am 04.07.2019 um 18:06 schrieb Ziereis, Annika Carina <annika.ziereis at uni-goettingen.de>:
> Dear all,
> (I'd like to say beforehand that I am a total beginner in signal processing... so if you have an idea why this happened I'd be very happy if you'd consider it in your explanation)
> For the EEG recording we use a sampling rate of 512 Hz which we want to down-sample to 500 Hz (we do simultaneous eye-tracking which records with 500 Hz and we want to do a co-registration).
> During the pre-processing I looked at the power spectral density and found a power increase for the harmonics of 12 Hz (so peaks at 12, 24, 36 ... Hz) after resampling to 500 Hz. These peaks were not visible in the power spectral density plot of the raw data.
> It was especially pronounced for participants with a higher alpha power and not so much for those with low alpha power.
> I played with some resampling frequencies to check how it looks like for 499 Hz, 501 Hz 497 Hz... and 256 Hz (to compare to a integer ratio).
> The "artefacts" only occur for 499, 500 and 501 Hz-showing each the harmonics of the difference in Hz
> e.g. for 499 Hz (which would be 13Hz less than the original sampling rate) I get the harmonic peaks for 13, 26 and so on.
> It disappears for Frequencies that are not in the alpha range (e.g. 15 Hz, for resampling to 497 Hz).
> Then I read that one could do low-pass filtering to avoid aliasing effects (which I have to admit- I don' t understand very well). So I tried to low-pass filtering of 40 Hz (I just used 40 Hz because we did so in another study) and do the resampling again. This resulted in the same harmonics and super strange peaks in the filtered out frequencies.
> I uploaded a pdf with pictures here (hopefully, it makes it more clear what I mean): https://github.com/aziereis/eegquestions/blob/master/downsampling.pdf
> Has anybody encountered this problem before?
> Is this artefact problematic?
> Thank you very much for your help!!
> Annika Carina Ziereis
> Georg-Elias-Müller Institute for Psychology
> - Affective Neuroscience and Psychophysiology -
> University Göttingen
> Goßlerstr. 14
> 37073 Göttingen
> Phone +49 551 39 20623
> Email: annika.ziereis at uni-goettingen.de
> 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