Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add note to documentation
Browse files Browse the repository at this point in the history
JaGeo committed Apr 17, 2024

Verified

This commit was signed with the committer’s verified signature.
jimklimov Jim Klimov
1 parent 0e57abf commit b1261e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pymatgen/analysis/local_env.py
Original file line number Diff line number Diff line change
@@ -3794,6 +3794,9 @@ class CrystalNN(NearNeighbors):
algorithm can also modify probability using smooth distance cutoffs as well as Pauling
electronegativity differences. The output can either be the most probable coordination
environment or a weighted list of coordination environments.
Please note that the default weights have been benchmarked for inorganic crystal structures.
For MOFs, ChemEnv has previously been successfully used with the following initialisation:
CrystalNN(x_diff_weight = 1.5, search_cutoff = 4.5)
"""

NNData = namedtuple("NNData", ["all_nninfo", "cn_weights", "cn_nninfo"])

0 comments on commit b1261e9

Please sign in to comment.