Update GUAN_package_learning.ipynb
This commit is contained in:
		@@ -126,7 +126,10 @@
 | 
				
			|||||||
    "h01 = np.identity(N2)\n",
 | 
					    "h01 = np.identity(N2)\n",
 | 
				
			||||||
    "LDOS = guan.local_density_of_states_for_square_lattice_using_dyson_equation(fermi_energy, h00=h00, h01=h01, N2=N2, N1=N1)\n",
 | 
					    "LDOS = guan.local_density_of_states_for_square_lattice_using_dyson_equation(fermi_energy, h00=h00, h01=h01, N2=N2, N1=N1)\n",
 | 
				
			||||||
    "print(LDOS, '\\n\\n')\n",
 | 
					    "print(LDOS, '\\n\\n')\n",
 | 
				
			||||||
 | 
					    "LDOS2 = guan.local_density_of_states_for_square_lattice_using_dyson_equation_with_second_method(fermi_energy, h00, h01, N2, N1, internal_degree=1, broadening=0.01)\n",
 | 
				
			||||||
 | 
					    "print(LDOS2, '\\n\\n')\n",
 | 
				
			||||||
    "guan.plot_contour(range(N1), range(N2), LDOS, fontfamily=None)\n",
 | 
					    "guan.plot_contour(range(N1), range(N2), LDOS, fontfamily=None)\n",
 | 
				
			||||||
 | 
					    "guan.plot_contour(range(N1), range(N2), LDOS2, fontfamily=None)\n",
 | 
				
			||||||
    "\n",
 | 
					    "\n",
 | 
				
			||||||
    "N1 = 3\n",
 | 
					    "N1 = 3\n",
 | 
				
			||||||
    "N2 = 4\n",
 | 
					    "N2 = 4\n",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user