update
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import guan
|
||||
import numpy as np
|
||||
|
||||
# calculate density of states
|
||||
hamiltonian = guan.hamiltonian_of_finite_size_system_along_two_directions_for_square_lattice(2,2)
|
||||
fermi_energy_array = np.linspace(-4, 4, 400)
|
||||
total_dos_array = guan.total_density_of_states_with_fermi_energy_array(fermi_energy_array, hamiltonian, broadening=0.1)
|
||||
guan.plot(fermi_energy_array, total_dos_array, xlabel='E', ylabel='Total DOS', type='-o')
|
||||
guan.plot(fermi_energy_array, total_dos_array, xlabel='E', ylabel='Total DOS', type='-')
|
||||
|
||||
fermi_energy = 0
|
||||
N1 = 3
|
||||
|
||||
Reference in New Issue
Block a user