Open Dutchflag opened 5 years ago
Good catch. I think we can update that function soon to provide a true Welch's PSD implementation through scipy.
Welch's PSD implementation
@jdpigeon, For reference code and explanation see Compute the average bandpower of an EEG signal or his YASA library's yasa.bandpower function
i've been playing around with the neurofeedback example, and i noticed the following.
In line 85 of utils.py, the PSD is calculated. However, without taking the square of the magnitude of the FFT, you get the true theoretical FFT and not the power spectrum. I think the **2 is missing?