triqs_dft_tools.converters.plovasp.proj_group.ProjectorGroup.select_bands

ProjectorGroup.select_bands(eigvals)[source]

Select a subset of bands lying within a given energy window. The band energies are assumed to be sorted in an ascending order.

Parameters:
eigvals (numpy.array)all eigenvalues
emin, emax (float)energy window
Returns:
ib_win, nb_min, nb_maxlowest and highest indices of the selected bands