pythtb.Mesh.get_k_points#

Mesh.get_k_points()[source]#

Return the k-point mesh from the full grid, with shape (nk1, nk2, ..., dim_k).

Notes

The k-mesh is orthogonal to the lambda mesh, so this function returns the unique k-points in the mesh. For example, if the full mesh has shape (nk1, nk2, nl1, dim_k+dim_lambda), this function will return the k-points with shape (nk1, nk2, dim_k).