This is an issue reported via email (I didn't check / verify - putting here for follow up):
I was comparing the outputs of the matlab and python implementations of fooof, and noticed that r_squared didn't match.
In fooof.m , you forgot to take the square of the correlation coefficient:
fooof_results.r_squared = coefs(2)^2;
This is an issue reported via email (I didn't check / verify - putting here for follow up):
I was comparing the outputs of the matlab and python implementations of fooof, and noticed that r_squared didn't match.
In fooof.m , you forgot to take the square of the correlation coefficient:
fooof_results.r_squared = coefs(2)^2;