Skip to content

Commit

Permalink
add energy ranges to pathway result
Browse files Browse the repository at this point in the history
  • Loading branch information
esoteric-ephemera committed Feb 25, 2025
1 parent 18c18ae commit 9f8e5d5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions emmet-core/emmet/core/neb.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,3 +517,11 @@ def max_barriers(self) -> dict[str, float]:
idx: max(self.forward_barriers[idx], self.reverse_barriers[idx])
for idx in self.forward_barriers
}

@property
def barrier_ranges(self) -> dict[str,float | None]:
"""Retrieve the max minus min computed energy along each hop."""
return {
idx : neb_calc.barrier_energy_range
for idx, neb_calc in self.hops.items()
}

0 comments on commit 9f8e5d5

Please sign in to comment.