xnn.common.benchmark.energy.fit_atomic_energies#
- xnn.common.benchmark.energy.fit_atomic_energies(structures)[source]#
Least-squares fit per-element reference energies from total energies.
Solves
C @ E0 ~= E_totalwhereC[i, j]is the count of speciesjin structurei– the standard way to estimate E0s when they are not supplied (MACE’saveragescheme). Structures without an energy are skipped.