pele.potentials.XYModel.get_spin_energies#

XYModel.get_spin_energies(angles)[source]#

return the local energy of each spin