How to solve AUTO-FOX Divide by Zero Error? #305
Replies: 2 comments
-
@BvB93 I hope it is okay that I am tagging you - I am doing that because I am not sure if this community is active, and "Issues" does not seem like the right place to post this. I also tried to ask in other forums before, but could not get help. |
Beta Was this translation helpful? Give feedback.
-
I just thought I would give an update. I tried out the Cd/Se example offered on the Git page of the package (so, one which I knew was correct without doubt), and it only worked once I added plt.show() at the end. I am still getting the error I reported in the post (divide by zero) as I have zero diagonal elements in my matrix, but the RDF/ADF plots are finally showing and are plausible. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone and @BvB93 !
I am trying to get the Radial and Angular Distribution Functions (RDF, ADF) from the AUTO-FOX package.
When I run this script, I get this error message:
What I tried to do:
I even checked the source code for RDF (auto-FOX/FOX/functions/rdf.py at master · nlesc-nano/auto-FOX · GitHub), but I am not sure what dist.max is, as it is not defined.
I tried to print my “sys”, and all of the elements in it seem to be floats? See below:
I would love some input! Thank you kindly!
Beta Was this translation helpful? Give feedback.
All reactions