We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't do this:
abs_delta = sum(cut_frequencies(p,freqArray,1,4),1) abs_theta = sum(cut_frequencies(p,freqArray,4,8),1) abs_alpha1 = sum(cut_frequencies(p,freqArray,8,11),1) abs_alpha2 = sum(cut_frequencies(p,freqArray,11,14),1) abs_beta1 = sum(cut_frequencies(p,freqArray,14,20),1) abs_beta2 = sum(cut_frequencies(p,freqArray,20,31),1) abs_gamma = sum(cut_frequencies(p,freqArray,31,50),1) total = sum(cut_frequencies(p,freqArray,1,50),1)
instead keep an array of frequency band cuts and iterate through it:
cuts = [ 1 4; 4 8; 8 11; 11 14; 14 20; 20 31; 31 50]
This makes the band creation more programatic, and can be used to select band cuts by the scientist running the script.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Don't do this:
instead keep an array of frequency band cuts and iterate through it:
This makes the band creation more programatic, and can be used to select band cuts by the scientist running the script.
The text was updated successfully, but these errors were encountered: