guan-0.0.28
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| [metadata] | [metadata] | ||||||
| # replace with your username: | # replace with your username: | ||||||
| name = guan | name = guan | ||||||
| version = 0.0.27 | version = 0.0.28 | ||||||
| author = guanjihuan | author = guanjihuan | ||||||
| author_email = guanjihuan@163.com | author_email = guanjihuan@163.com | ||||||
| description = An open source python package | description = An open source python package | ||||||
|   | |||||||
| @@ -108,7 +108,7 @@ def calculate_conductance_with_disorder_intensity_array(fermi_energy, h00, h01, | |||||||
|     conductance_array = conductance_array/calculation_times |     conductance_array = conductance_array/calculation_times | ||||||
|     return conductance_array |     return conductance_array | ||||||
|  |  | ||||||
| def calculate_conductance_with_disorder_concentration_array(fermi_energy, h00, h01, disorder_concentration_array,disorder_intensity=2.0, length=100, calculation_times=1): | def calculate_conductance_with_disorder_concentration_array(fermi_energy, h00, h01, disorder_concentration_array, disorder_intensity=2.0, length=100, calculation_times=1): | ||||||
|     dim = np.array(disorder_concentration_array).shape[0] |     dim = np.array(disorder_concentration_array).shape[0] | ||||||
|     conductance_array = np.zeros(dim) |     conductance_array = np.zeros(dim) | ||||||
|     i0 = 0 |     i0 = 0 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user