n_bands

property ElectronicBandStructure.n_bands

The number of bands

Returns:

int – The number of bands