Created
February 23, 2021 13:31
-
-
Save Steboss/38cc1745f0be1dc406d8a3d76fb43665 to your computer and use it in GitHub Desktop.
Plot of log2 RMS with Hurst coefficient
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fluctfit = 2**np.polyval(coeff_to_array,np.log2(scales)) | |
plt.loglog(scales, fluct_to_array, 'bo') | |
plt.loglog(scales, fluctfit, 'r', label=r'$\alpha$ = %0.2f'%coeff_to_array[0]) | |
plt.title('DFA') | |
plt.xlabel(r'$\log_{10}$(time window)') | |
plt.ylabel(r'$\log_{10}$<F(t)>')# | |
plt.legend() | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment