diff --git a/.DS_Store b/.DS_Store index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..c12c301dfcbf8cb53018f6e8c6b764356160abb9 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/__pycache__/momentum.cpython-38.pyc b/__pycache__/momentum.cpython-38.pyc deleted file mode 100644 index f009b97efe8fcf169b2785aed2744b20f5f77b62..0000000000000000000000000000000000000000 Binary files a/__pycache__/momentum.cpython-38.pyc and /dev/null differ diff --git a/__pycache__/tSnS.cpython-38.pyc b/__pycache__/tSnS.cpython-38.pyc deleted file mode 100644 index 18e5191016c906076dfecd7be4d8892488f30e6a..0000000000000000000000000000000000000000 Binary files a/__pycache__/tSnS.cpython-38.pyc and /dev/null differ diff --git a/bands.py b/bands.py index da232d48cea3c167c70bb52fec5ddb2a19137b17..3b46b83cc6c2263fffd77b05f86a3aa7582555e6 100644 --- a/bands.py +++ b/bands.py @@ -69,5 +69,5 @@ if __name__ == '__main__': model = tSnS() BZ = Momentum(model.G1, model.G2) - Bandstructure(model, 100, bandset=2) + Bandstructure(model, 1000, bandset=2) diff --git a/momentum.py b/momentum.py index fe6e8f417b61bc7edf5fc859d8b6d13aa38e4fea..a164c27c9098e2b66b0bba7e54da00d0c83e5731 100644 --- a/momentum.py +++ b/momentum.py @@ -61,7 +61,7 @@ class Momentum: d_tot = np.sum(distances) #Distribute points uniformly over the intervals - number_points=np.zeros_like(distances, dtype = np.int) + number_points=np.zeros_like(distances, dtype = int) ratios = distances/d_tot number_points = np.array([int(x*k_points) for x in ratios]) total_number_points = np.sum(number_points)