tightbinder.observables.fermi_energy# fermi_energy(dos, energy, system)[source]# Routine to compute the Fermi energy from the density of states integrating up to the number of electrons in the system. It is based on trapezoidal integration of the DoS. Parameters: dos (list) – List with density of states values. energy (list) – List with energies where the DoS are evaluated. system (System) – System object (used to provide filling and basisdim). Return type: float Returns: Fermi energy.