Tutorial 10: Frequency filters

Authors: Francois Tadel, Elizabeth Bock, John C Mosher, Sylvain Baillet

We are now going to process our continuous recordings to remove the main sources of noise. Typically, we can expect contaminations coming from the environment (power lines, stimulation equipment, building vibrations) and from the subject (movements, blinks, heartbeats, breathing, teeth clenching, muscle tension, metal in the mouth or the body). In this tutorial, we will focus first on the noise patterns that occur continuously, at specific frequencies.

We can correct for those artifacts using frequency filters. Usually we prefer to apply the frequency filters before any other type of correction, on the continuous recordings. They can be applied to the recordings without much supervision, but they may create important artifacts at the beginning and the end of the signals. Processing the entire continuous recordings at once instead of the imported epochs avoids adding those edge effects to all the trials.

Evaluation of the noise level

Before running any type of cleaning procedure on MEG/EEG recordings, we recommend to always start with a quick evaluation of the noise level. An easy way to do this is to estimate the power spectrum of all the sensors over the entire recordings.

Interpretation of the PSD

File: AEF#01

File: AEF#02

File: Noise recordings

Notch filter

Let's start with cleaning for the 60Hz due to the power lines and its harmonics. Notch filters are adapted for removing some well identified contaminations from systems oscillating at a very stable frequency.

Evaluation of the filter

Some cleaning

To avoid the confusion later, delete the links to the original files:

Advanced

Alternatives to the notch

If the notch filter is not giving satisfying result, you can use two other processes.

Advanced

Other filters

Other frequency filters could be interesting to run at an early stage of analysis.

Important: Frequency filters and sinusoid removals are operations that you should apply at very early stages of the analysis, before epoching the recordings. Those operations do not perform well next to the beginning and the end of the signals, they may generate important artifacts. It is therefore much more accurate to filter the entire recordings from the original continuous file at once, rather than filtering small epochs after importing them in the database.








Feedback: Comments, bug reports, suggestions, questions
Email address (if you expect an answer):


Tutorials/ArtifactsFilter (last edited 2015-03-05 15:39:24 by FrancoisTadel)