tbplas.calc_bands

tbplas.calc_bands(model: PrimitiveCell, k_path: ndarray, **kwargs) Tuple[ndarray, ndarray]

Function for quick calculation of band structure. :param model: model for which band structure will be calculated :param k_path: k-path in the Brillouin zone :param kwargs: settings in DiagConfig :return: (k_len, bands) length of k-path and band structure