pengwann.io.read_u#

io.read_u(path)#

Parse the unitary matrices U^k from a Wannier90 _u.mat file.

Parameters:
pathstr

The filepath to seedname_u.mat or seedname_u_dis.mat.

Returns:
undarray of complex

The unitary matrices U^k.

kpointsndarray of float

The k-point mesh used in the prior Wannier90 calculation.