Concentration Monitoring
I’ve been using the Cyton for a few weeks to track concentration now and want to extract band powers for alpha, beta, gamma, and theta rather than just extracting millivolts and a time signature.
I understand that the OpenBCI GUI computes these values from the raw EEG stream (via FFT/PSD) using Brainflow, but I’d like to confirm the exact processing steps you use (e.g., window length, overlap, windowing function, normalization, etc.).
Would you be able to share or point me to the portion of the source code where the FFT and band power calculations are implemented? Having this reference would help me align my analysis with the GUI outputs for validation.
Thank you for your time and for all the amazing work you do to support the neurotech community.
Comments
Hi Avaneesh,
All the source files are on the Github. The 'widgets' file names all begin with 'W_xxx'.
https://github.com/OpenBCI/OpenBCI_GUI/blob/master/OpenBCI_GUI/W_Focus.pde
https://github.com/OpenBCI/OpenBCI_GUI/blob/master/OpenBCI_GUI/W_FFT.pde
https://github.com/OpenBCI/OpenBCI_GUI/blob/master/OpenBCI_GUI/W_BandPower.pde
William