wulfric.kpoints.get_path_as_string#

wulfric.kpoints.get_path_as_string(path_as_list) str[source]#

Converts k=path from list to string representation.

path_as_string = "G-X-Y-S|G-Z"
path_as_list = [["G", "X", "Y", "S"], ["G", "Z"]]
Parameters:
path_as_listlist of list of str

K-path as list of subpaths, where each subpath is a list of k-points.

Returns:
path_as_stringstr

K-path as a single string.

Raises:
ValueError

If path_as_list is not a list of list.

See also

K-path