Replies: 2 comments
-
Hi Marwin, the BVAnalyzer code is actually one of the few corners of pymatgen I don't have a good understanding of, so I'd like to understand this better. I notice the BV dataset is actually quite old (doi: 10.1021/ja00009a002), and that newer datasets are available -- could this be part of the cause? I vaguely remember investigating if we could update the dataset quite some time ago, but it seemed like more modern data was defined differently, and it wasn't clear to me what updates to the code would be required. |
Beta Was this translation helpful? Give feedback.
-
Hi Matthew, I found this link where bvparams are available: https://www.iucr.org/resources/data/datasets/bond-valence-parameters Maybe that helps! |
Beta Was this translation helpful? Give feedback.
-
Hey all,
I am trying to calculate BVS values for a big set of cif files. For single files I have used EXPO2014 and that is also what I use for reference if the BVS values from pymatgen "make sense". Unfortunately, the values I get from calculate_bv_sum are very much off of what to expect. On the example of P5+ I get a mean value of 6 and for Si4+ a mean value of 5. From time to time I also get Ba2+ values of 4. That does not happen with EXPO2014.
Now, I am wondering if that is just a "scaling problem"? There is a scale_factor parameter that defaults to 1. Is it okay to adjust this value in a way that I get "good values"? Or any other suggestions?
Here is a working (minimal) code snippet of what I use:
I'd appreciate your help big time!
Cheers,
Marwin
Beta Was this translation helpful? Give feedback.
All reactions