Skip to content
Snippets Groups Projects

Interface refactoring

Merged Kostas Vilkelis requested to merge interface-refactoring into main
Compare and Show latest version
3 files
+ 11
6
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 4
4
@@ -106,10 +106,10 @@ def fermi_on_grid(kham, filling):
Parameters
----------
hkfunc : function
Function that returns the Hamiltonian at a given k-point.
nk : int
Number of k-points in the grid.
kham : ndarray
Hamiltonian in k-space of shape (len(dim), norbs, norbs)
filling : int
Number of particles in a unit cell.
Returns
-------
fermi_energy : float
Loading