pythtb.WFArray.energies#

property WFArray.energies#

The energies of the TBModel.

Returns:
np.ndarray

The energies of the TBModel. Shape is (shape_mesh..., nstates). Only defined after calling solve_model().

Raises:
ValueError

If the wavefunctions are not initialized or if the energies have not been computed.