pythtb.io.w90.read_kpoint_path#
- read_kpoint_path(win_lines, *, latex=True)[source]#
Return the reduced-coordinate nodes declared in the
kpoint_pathblock.- Parameters:
- latexbool, optional
When True (default) convert labels into LaTeX-friendly strings, e.g.
"G" -> r"$\Gamma$".
- Returns:
- coordsnumpy.ndarray
Array with shape
(n_nodes, 3)containing the reduced coordinates.- labelslist[str]
Labels for each node, optionally formatted for LaTeX rendering.