You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using your power law implementation with this data:
[0.0018, 0.0076, 0.0077, .... , 277.89, 546.74]
I got this error:
/usr/local/lib/python3.4/dist-packages/plfit/plfit.py:1012: RuntimeWarning: invalid value encountered in log
alpha = 1.0 + float(nn) * (sum(log(xx/(float(xmin)-0.5))))**-1
This is because your implementation is not working with values below 1?
The text was updated successfully, but these errors were encountered:
That's just a warning, but presumably you got alpha=nan? There shouldn't be a problem with xmin<1 generally, but it looks like there is a way to get negatives here... hm.
IThanks for the answer. I managed multipliying all the data to get them >1 and of course divide again the xmin. I'am curious if there is a way to get various xmin from the module, like a list of the maximum curvature change in the data, not only the maximum curvature. My data looks like that, and the maximum curvature is not the desired xmin. Thanks in advance.
When using your power law implementation with this data:
[0.0018, 0.0076, 0.0077, .... , 277.89, 546.74]
I got this error:
/usr/local/lib/python3.4/dist-packages/plfit/plfit.py:1012: RuntimeWarning: invalid value encountered in log
alpha = 1.0 + float(nn) * (sum(log(xx/(float(xmin)-0.5))))**-1
This is because your implementation is not working with values below 1?
The text was updated successfully, but these errors were encountered: