diff --git a/API_Reference.py b/API_Reference.py index a7dc194..98ff18e 100644 --- a/API_Reference.py +++ b/API_Reference.py @@ -244,7 +244,7 @@ guan.print_or_write_scattering_matrix(fermi_energy, h00, h01, length=100, print_ # Module 9: topological invariant -chern_number = guan.calculate_chern_number_for_square_lattice_efficient_method(hamiltonian_function, precision=100, print_show=0) +chern_number = guan.calculate_chern_number_for_square_lattice_with_efficient_method(hamiltonian_function, precision=100, print_show=0) chern_number = guan.calculate_chern_number_for_square_lattice_with_wilson_loop(hamiltonian_function, precision_of_plaquettes=20, precision_of_wilson_loop=5, print_show=0) diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index fb38f1d..799e8f9 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.0.123 +version = 0.0.124 author = guanjihuan author_email = guanjihuan@163.com description = An open source python package diff --git a/PyPI/src/guan.egg-info/PKG-INFO b/PyPI/src/guan.egg-info/PKG-INFO index 47739e4..a27f2fc 100644 --- a/PyPI/src/guan.egg-info/PKG-INFO +++ b/PyPI/src/guan.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: guan -Version: 0.0.123 +Version: 0.0.124 Summary: An open source python package Home-page: https://py.guanjihuan.com Author: guanjihuan diff --git a/PyPI/src/guan/__init__.py b/PyPI/src/guan/__init__.py index eb3b2be..218bd29 100644 --- a/PyPI/src/guan/__init__.py +++ b/PyPI/src/guan/__init__.py @@ -2,7 +2,7 @@ # With this package, you can calculate band structures, density of states, quantum transport and topological invariant of tight-binding models by invoking the functions you need. Other frequently used functions are also integrated in this package, such as file reading/writing, figure plotting, data processing. -# The current version is guan-0.0.123, updated on August 13, 2022. +# The current version is guan-0.0.124, updated on August 13, 2022. # Installation: pip install --upgrade guan @@ -1518,7 +1518,7 @@ def print_or_write_scattering_matrix(fermi_energy, h00, h01, length=100, print_s # Module 9: topological invariant -def calculate_chern_number_for_square_lattice_efficient_method(hamiltonian_function, precision=100, print_show=0): +def calculate_chern_number_for_square_lattice_with_efficient_method(hamiltonian_function, precision=100, print_show=0): if np.array(hamiltonian_function(0, 0)).shape==(): dim = 1 else: