Page 1 of 1

Issue Calculating Relative Brainwaves

Posted: Sun Jul 26, 2020 9:12 pm
by dbro99
Hi James,

First off, thanks so much for making this app and patiently answering our questions. I did my best to search the forum before posting, but wasn't able to find an answer to my question.

I am trying to calculate my average relative brainwaves, but they differ significantly from what is displayed on the website. On the website, my results are as follows:

Avg Delta Rel: 0.237
Avg Theta Rel: 0.181
Avg Alpha Rel: 0.393
Avg Beta Rel: 0.136
Avg Gamma Rel: 0.054

I made my calculations in python from the columns on the GraphingDataAve sheet that is created by the macro.

d = (df['Delta'].mean()+1)*50
t = (df['Theta'].mean()+1)*50
a = (df['Alpha'].mean()+1)*50
b = (df['Beta'].mean()+1)*50
g = (df['Gamma'].mean()+1)*50

Using the formula d / (d+t+a+b+g) I got my Avg Rel Delta to be 0.238, which is basically the same as the website. However, the others yielded:

Avg Theta Rel: 0.211
Avg Alpha Rel: 0.291
Avg Beta Rel: 0.180
Avg Gamma Rel: 0.080

Any idea why they are so different? Is my formula wrong? I'm happy to send you the csv if that helps. Thanks in advance for your help!

Re: Issue Calculating Relative Brainwaves

Posted: Mon Jul 27, 2020 10:41 am
by James
You can find Interaxon's old documentation on the relative formula by searching the Internet archive here: https://web.archive.org/web/20181105231 ... and_Powers

alpha_relative = (10^alpha_absolute / (10^alpha_absolute + 10^beta_absolute + 10^delta_absolute + 10^gamma_absolute + 10^theta_absolute))

Re: Issue Calculating Relative Brainwaves

Posted: Wed Jul 29, 2020 6:24 pm
by dbro99
That worked! Thanks James :)