pythtb.Wannier.get_centers#

Wannier.get_centers(cartesian=False)[source]#

Get the centers of the Wannier functions.

Parameters:
cartesianbool, optional

If True, return the centers in Cartesian coordinates. If False, return the centers in fractional coordinates.

Returns:
np.ndarray

The centers of the Wannier functions.