pyeeg
pyeeg copied to clipboard
Possible error in petrosian fractal dimension calculation
Hello! I think there is a bug in the last line causing an error in pfd calculation, it should be numpy.log10(n / (n+0.4*N_delta)). Pls let me know if I made a mistake. Thanks :))
What do you think it should be changed to?
I think it should be changed to numpy.log10(n / (n+0.4xN_delta)). because in the current code its doing np.log10((n/n)+(0.4xn_delta))--> np.log10(1+0.4xn_delta) which is not the same as the equation in the paper.