DFControl.bandgapMethod
bandgap(bands::AbstractVector{Band}, n_electrons::Int)
bandgap(bands::AbstractVector{Band}, fermi::Float64)

Calculates the bandgap (possibly indirect) around the fermi level.