...Based on software written by Project Nayuki:
https://www.nayuki.io/page/how-to-implement-the-discrete-fourier-transform
https://www.nayuki.io/page/about
And the Brainwave Analyzer is a project of alphagammawaves Blog:
https://alphagammawaves.wordpress.com/
The purpose of the Brainwave Analyzer is to provide a way to take raw brainwaves, calculate their frequencies, divide them up into the different bands (Delta, Theta, Alpha, Beta, Gamma), and then graph the results.