# Tag Info

## Hot answers tagged eeg

Accepted

### Which order to perform downsampling and filtering?

You need to filter first and then downsample. Otherwise, you will run into aliasing problems. I.e. frequencies that are above 30 Hz will create images within your frequencies of interest. You can ...
• 6,088
Accepted

### How does averaging increase the Signal to Noise ratio?

Intuitively this is true, because averaging a zero mean noise processes approximates its expectation value - which is zero. More rigorously: If the signal $x$ that you want to observe (estimate, ...
• 4,061
Accepted

### Cross correlate a 2D array

What you have (conceptually) is not a 2D array but a collection of 1D arrays. correlate2D is designed to perform a 2D correlation calculation, so that's not what ...
• 1,329

### How does averaging increase the Signal to Noise ratio?

averaging only increases S/N if the "S" component of the items being averaged is correlated and the "N" component is not correlated. when adding perfectly correlated values, then the overall "voltage"...

### Which order to perform downsampling and filtering?

Since I can't comment on this particular site I'd say this, consider the following before you do what you're trying to do. Due to the Nyquist law you want your sampling frequency to be that of the ...
• 141
Accepted

### Bandpass filter to get EEG frequency bands?

As the frequency bands are simple frequency ranges, I wonder if I can use several bandpass filters to get them (instead of using WPT / FFT)? Sure! That's how it's usually done! Is there any ...
• 26.9k
Accepted

### What do certain terms mean in EEG processing describing frequency bands?

The short answer: The brain is a huge set of neurons that produce electrical activity as part of their function. We can sense this electrical activity and correlate it with brain states (alert, asleep,...
• 10.1k

### How to correctly compute the EEG Frequency Bands with Python?

I believe there is a much simpler way to do this with numpy.fft.rfft and numpy.fft.rfftfreq. In the below example, I have two ...

• 30.5k

### Can an EEG be re-sampled to fix a poor voltage resolution?

The bit depth basically indicates how accurately your analog-to-digital converter records and reproduces the signal (Fig. 1). A higher bit depth means that more subtle fluctuations in the waveform are ...
• 288

### Can Kalman filter remove 50 Hz noise?

With your edit it becomes clear that you've modeled your problem incorrectly: While the offending signal appears shortly with a frequency of 50 Hz, that is by no means the frequency content of the ...
• 26.9k

### Difference between bandpass filter and using fast fourier transform to extract power of frequency bands

An FFT extracts frequency bands, similar to a bank of (mediocre) bandpass filters. An FFT is just a bank of bandpass FIR filters, all of equal length, that because they are in default form ...
• 34.1k
Accepted

### Doing the inverse of the fourier on EEG data?

I am assuming the original EEG data was real (which seems reasonable) and therefore can conclude that the result given represents just the positive frequencies; since the complete spectrum would be ...
• 38.3k
Accepted

### Epoched data to a continuous signal

You may have problems related to discontinuity and this can give small glitches in your signal, if you hear your signal you will notice pops/clicks artifacts at every 100 epoches edge, one way to try ...
• 1,943

### How do you apply Kalman Filter to track a signal?

The power of the Kalman filter lies in the effect that it predicts the next "state" of the signal/object by using an internal model of the process. That why it is very effective for physical processes,...
• 41
Accepted

### Why use Wavelet Denosing instead of Band pass Filtering

If you use frequency selective filters for denoising you implicitly assume that the desired signal and the noise occupy different frequency bands. You only remove noise in frequency regions where ...
• 80.9k
Accepted

### Why is this MATLAB butterworth filter giving me wrong results

Your filter is passing only between 1 and 63 Hz, assuming that you meant to say that the sampling rate is 128Hz. Since you are removing everything below 1Hz, the plot you have looks reasonable. The ...
• 2,180
Accepted

### Pre-processing EEG signals

The advantage to using FIR-filters here is that you can (relatively easily) account for the delay. Assuming filters with constant group delay (see examples here,) - which seems likely given that your ...
• 2,180

### Phase locking value / phase synchronization

If you have two numpy arrays of phase data theta1 and theta2 (in radians), you can calculate phase locking value in numpy without too much effort: ...
Accepted

### What could be causing these humps every 10 Hz on my PSD estimate data?

These are indeed artefacts from the stimulation ...
• 3,569
Accepted

### How is the topo / scalp map from an EEG Signal with ICA created?

In general, the topographic map describes the distribution of electrical activity across the brain as measured in a number of well known "stations" (electrodes whose position is known) on the scalp. ...
• 10.1k

### What does epoch mean in EEG?

In order to answer your question in a simple way, imagine we have a signal x with length of 60-s and our sampling frequency is 1 Hz. The matrix representation of your EEG signal would be 1*60 array ...
• 145