Emotiv / cortex-example

Example with Cortex V2/V3 API
https://emotiv.com
MIT License
194 stars 113 forks source link

Inquiries about the POW feature in Cortex API? #176

Closed shathaalotaibi closed 2 years ago

shathaalotaibi commented 2 years ago

I have a query about the POW function; what did you do with the EEG to get these values? I need to understand what happened in the background.

Also, can you tell me what is the MAX and MIN Values for each value in the resulted array?

bchaperon commented 2 years ago

Hi @shathaalotaibi

The band power are calculated every 0.5 seconds, using the last 2 seconds of EEG data. The steps are:

  1. High pass filter
  2. Remove DC offset (for each EEG channel, remove the mean value)
  3. Hanning window
  4. FFT
  5. make the sum of the squares of the FFT values