Issue Calculating Relative Brainwaves

Post Reply
dbro99
Posts: 2
Joined: Sun Jul 26, 2020 8:53 pm

Issue Calculating Relative Brainwaves

Post 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!
User avatar
James
Site Admin
Posts: 1103
Joined: Wed Jan 02, 2013 9:06 pm

Re: Issue Calculating Relative Brainwaves

Post 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))
dbro99
Posts: 2
Joined: Sun Jul 26, 2020 8:53 pm

Re: Issue Calculating Relative Brainwaves

Post by dbro99 »

That worked! Thanks James :)
Post Reply