Re-referencing:
Analyzer supports three ways of re-referencing the EEG data. Interquartile mean (IQM), Median, and Mean.
Hanning Window :
Users can choose a window size of N (e.g. 256) samples and this window by M (e.g. 16) samples to create the new window.
The exact implementation of the Hanning window we use:
hanning_window = [] for i in range(256): hanning_window.append(0.5 * (1 - np.cos((2.0 * np.pi * (i + 1)) / (256 + 1))))
Band Powers and Normalization :
Our normalization uses python and numpy.
Multiplying the Hanning window by 2 (as the window reduces the amplitude of the Fourier transform by a factor of 2 and divide the output of the fft by the window length)
We also subtract the mean of the data for each epoch/window as the DC value is not usable and only distorts the Fourier transform of the lower frequencies.