Why do we filter EEG data?

Why do we filter EEG data?

The main benefit of filters is that they can appear to “clean up” the EEG tracing, making it easier to interpret and generally more pleasing to the eye. Certain filter settings can also be used to accentuate particular types of EEG activity.

What is Filtfilt function?

y = filtfilt( b , a , x ) performs zero-phase digital filtering by processing the input data, x , in both the forward and reverse directions. After filtering the data in the forward direction, filtfilt reverses the filtered sequence and runs it back through the filter. Zero phase distortion.

What is a high-pass filter in EEG?

Digital filtering is a common preprocessing step when analyzing EEG data. The typical practice in EEG signal processing is to apply a high-pass filter to filter out slow frequencies less than 0.1 Hz or often even 1 Hz and a low-pass filter to filter out frequencies above 40 or 50 Hz Hz.

What does Filtfilt do Matlab?

MATLAB’s filtfilt does a forward-backward filtering, i.e., filter, reverse the signal, filter again and then reverse again.

What are the characteristics of a filtfilt filter?

After filtering the data in the forward direction, filtfilt reverses the filtered sequence and runs it back through the filter. The result has the following characteristics: Zero phase distortion. A filter transfer function equal to the squared magnitude of the original filter transfer function.

How does filtfilt minimize start up and end transients?

A filter order that is double the order of the filter specified by b and a. filtfilt minimizes start-up and ending transients by matching initial conditions. Do not use filtfilt with differentiator and Hilbert FIR filters, because the operation of these filters depends heavily on their phase response.

Why does filtfilt mirror the initial and final values?

As written in the documentation, and as you can see inside the code, filtfilt mirrors the initial and final values to reduce the transitional effects. This cannot preserve the marginal values in every case. It is not clear, what you exactly want to achieve. Please explain uniquely and clearly what you need.

How does filtfilt perform zero phase digital filtering?

y = filtfilt(b,a,x) performs zero-phase digital filtering by processing the input data, x, in both the forward and reverse directions. After filtering the data in the forward direction, filtfilt reverses the filtered sequence and runs it back through the filter. The result has the following characteristics: Zero phase distortion.