TB2J 0.9.0__tar.gz → 0.9.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. {TB2J-0.9.0 → TB2J-0.9.0.1}/PKG-INFO +9 -4
  2. {TB2J-0.9.0 → TB2J-0.9.0.1}/README.md +2 -0
  3. TB2J-0.9.0.1/TB2J/__init__.py +1 -0
  4. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/exchange.py +1 -1
  5. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J.egg-info/PKG-INFO +9 -4
  6. {TB2J-0.9.0 → TB2J-0.9.0.1}/setup.py +1 -1
  7. TB2J-0.9.0/TB2J/__init__.py +0 -1
  8. {TB2J-0.9.0 → TB2J-0.9.0.1}/LICENSE +0 -0
  9. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/Jdownfolder.py +0 -0
  10. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/Jtensor.py +0 -0
  11. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/Oiju.py +0 -0
  12. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/Oiju_epc.py +0 -0
  13. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/abacus/__init__.py +0 -0
  14. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/abacus/abacus_api.py +0 -0
  15. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/abacus/abacus_wrapper.py +0 -0
  16. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/abacus/gen_exchange_abacus.py +0 -0
  17. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/abacus/orbital_api.py +0 -0
  18. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/abacus/stru_api.py +0 -0
  19. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/abacus/test_read_HRSR.py +0 -0
  20. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/abacus/test_read_stru.py +0 -0
  21. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/basis.py +0 -0
  22. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/citation.py +0 -0
  23. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/contour.py +0 -0
  24. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/density_matrix.py +0 -0
  25. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/epc.py +0 -0
  26. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/exchangeCL2.py +0 -0
  27. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/exchange_pert.py +0 -0
  28. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/exchange_qspace.py +0 -0
  29. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/external/__init__.py +0 -0
  30. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/external/p_tqdm.py +0 -0
  31. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/gpaw_wrapper.py +0 -0
  32. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/green.py +0 -0
  33. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/greentest.py +0 -0
  34. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/io_exchange/__init__.py +0 -0
  35. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/io_exchange/io_exchange.py +0 -0
  36. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/io_exchange/io_multibinit.py +0 -0
  37. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/io_exchange/io_tomsasd.py +0 -0
  38. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/io_exchange/io_txt.py +0 -0
  39. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/io_exchange/io_uppasd.py +0 -0
  40. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/io_exchange/io_vampire.py +0 -0
  41. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/io_merge.py +0 -0
  42. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/kpoints.py +0 -0
  43. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/manager.py +0 -0
  44. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/mathutils.py +0 -0
  45. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/myTB.py +0 -0
  46. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/orbmap.py +0 -0
  47. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/pauli.py +0 -0
  48. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/pert.py +0 -0
  49. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/plot.py +0 -0
  50. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/rotate_atoms.py +0 -0
  51. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/rotate_siestaDM.py +0 -0
  52. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/sisl_wrapper.py +0 -0
  53. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/spinham/__init__.py +0 -0
  54. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/spinham/base_parser.py +0 -0
  55. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/spinham/constants.py +0 -0
  56. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/spinham/hamiltonian.py +0 -0
  57. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/spinham/hamiltonian_terms.py +0 -0
  58. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/spinham/plot.py +0 -0
  59. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/spinham/qsolver.py +0 -0
  60. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/spinham/spin_api.py +0 -0
  61. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/spinham/spin_xml.py +0 -0
  62. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/spinham/supercell.py +0 -0
  63. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/tensor_rotate.py +0 -0
  64. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/utest.py +0 -0
  65. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/utils.py +0 -0
  66. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/versioninfo.py +0 -0
  67. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/wannier/__init__.py +0 -0
  68. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/wannier/w90_parser.py +0 -0
  69. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J/wannier/w90_tb_parser.py +0 -0
  70. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J.egg-info/SOURCES.txt +0 -0
  71. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J.egg-info/dependency_links.txt +0 -0
  72. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J.egg-info/requires.txt +5 -5
  73. {TB2J-0.9.0 → TB2J-0.9.0.1}/TB2J.egg-info/top_level.txt +0 -0
  74. {TB2J-0.9.0 → TB2J-0.9.0.1}/scripts/TB2J_downfold.py +0 -0
  75. {TB2J-0.9.0 → TB2J-0.9.0.1}/scripts/TB2J_eigen.py +0 -0
  76. {TB2J-0.9.0 → TB2J-0.9.0.1}/scripts/TB2J_magnon.py +0 -0
  77. {TB2J-0.9.0 → TB2J-0.9.0.1}/scripts/TB2J_magnon_dos.py +0 -0
  78. {TB2J-0.9.0 → TB2J-0.9.0.1}/scripts/TB2J_merge.py +0 -0
  79. {TB2J-0.9.0 → TB2J-0.9.0.1}/scripts/TB2J_rotate.py +0 -0
  80. {TB2J-0.9.0 → TB2J-0.9.0.1}/scripts/TB2J_rotateDM.py +0 -0
  81. {TB2J-0.9.0 → TB2J-0.9.0.1}/scripts/abacus2J.py +0 -0
  82. {TB2J-0.9.0 → TB2J-0.9.0.1}/scripts/siesta2J.py +0 -0
  83. {TB2J-0.9.0 → TB2J-0.9.0.1}/scripts/wann2J.py +0 -0
  84. {TB2J-0.9.0 → TB2J-0.9.0.1}/setup.cfg +0 -0
@@ -1,12 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TB2J
3
- Version: 0.9.0
3
+ Version: 0.9.0.1
4
4
  Summary: TB2J: First principle to Heisenberg exchange J using tight-binding Green function method
5
- Home-page: UNKNOWN
6
5
  Author: Xu He
7
6
  Author-email: mailhexu@gmail.com
8
7
  License: BSD-2-clause
9
- Platform: UNKNOWN
10
8
  Classifier: Development Status :: 3 - Alpha
11
9
  Classifier: Programming Language :: Python :: 3
12
10
  Classifier: Operating System :: OS Independent
@@ -16,6 +14,13 @@ Classifier: Topic :: Scientific/Engineering :: Physics
16
14
  Classifier: License :: OSI Approved :: BSD License
17
15
  Requires-Python: >=3.6
18
16
  License-File: LICENSE
17
+ Requires-Dist: numpy>1.16.5
18
+ Requires-Dist: scipy
19
+ Requires-Dist: matplotlib
20
+ Requires-Dist: ase>=3.19
21
+ Requires-Dist: tqdm
22
+ Requires-Dist: pathos
23
+ Requires-Dist: packaging>=20.0
24
+ Requires-Dist: pre-commit
19
25
 
20
26
  TB2J is a Python package aimed to compute automatically the magnetic interactions (superexchange and Dzyaloshinskii-Moriya) between atoms of magnetic crystals from DFT Hamiltonian based on Wannier functions or Linear combination of atomic orbitals. It uses the Green's function method and take the local rigid spin rotation as a perturbation. The package can take the output from Wannier90, which is interfaced with many density functional theory codes or from codes based on localised orbitals. A minimal user input is needed, which allows for an easily integration into a high-throughput workflows.
21
-
@@ -7,6 +7,8 @@
7
7
 
8
8
  TB2J is a open source python package for calculating the magnetic interaction parameters in Heisenberg models from DFT. It use the magnetic force theorem and take the local rigid spin rotation as a perturbation in the Green's function method.
9
9
 
10
+ The TB2J project is initialized in the PhyTheMa and Nanomat teams in the University of Liege.
11
+
10
12
  The features include:
11
13
  - Calculates parameters in Heisenberg model, including isotropic exchange, anisotropic exchange, Dyzanoshinskii-Moriya interaction.
12
14
  - Can use the input from many DFT codes with Wannier90, e.g. Abinit, Quantum Espresso, Siesta, VASP, etc.
@@ -0,0 +1 @@
1
+ __version__ = "0.9.0.1"
@@ -345,7 +345,7 @@ class ExchangeNCL(Exchange):
345
345
  self.norb = self.G.norb
346
346
  self.nbasis = self.G.nbasis
347
347
  # self.rho = np.zeros((self.nbasis, self.nbasis), dtype=complex)
348
- self.rho = self.G.get_density_matrix().real
348
+ self.rho = self.G.get_density_matrix()
349
349
  self.A_ijR_list = defaultdict(lambda: [])
350
350
  self.A_ijR = defaultdict(lambda: np.zeros((4, 4), dtype=complex))
351
351
  self.A_ijR_orb = dict()
@@ -1,12 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TB2J
3
- Version: 0.9.0
3
+ Version: 0.9.0.1
4
4
  Summary: TB2J: First principle to Heisenberg exchange J using tight-binding Green function method
5
- Home-page: UNKNOWN
6
5
  Author: Xu He
7
6
  Author-email: mailhexu@gmail.com
8
7
  License: BSD-2-clause
9
- Platform: UNKNOWN
10
8
  Classifier: Development Status :: 3 - Alpha
11
9
  Classifier: Programming Language :: Python :: 3
12
10
  Classifier: Operating System :: OS Independent
@@ -16,6 +14,13 @@ Classifier: Topic :: Scientific/Engineering :: Physics
16
14
  Classifier: License :: OSI Approved :: BSD License
17
15
  Requires-Python: >=3.6
18
16
  License-File: LICENSE
17
+ Requires-Dist: numpy>1.16.5
18
+ Requires-Dist: scipy
19
+ Requires-Dist: matplotlib
20
+ Requires-Dist: ase>=3.19
21
+ Requires-Dist: tqdm
22
+ Requires-Dist: pathos
23
+ Requires-Dist: packaging>=20.0
24
+ Requires-Dist: pre-commit
19
25
 
20
26
  TB2J is a Python package aimed to compute automatically the magnetic interactions (superexchange and Dzyaloshinskii-Moriya) between atoms of magnetic crystals from DFT Hamiltonian based on Wannier functions or Linear combination of atomic orbitals. It uses the Green's function method and take the local rigid spin rotation as a perturbation. The package can take the output from Wannier90, which is interfaced with many density functional theory codes or from codes based on localised orbitals. A minimal user input is needed, which allows for an easily integration into a high-throughput workflows.
21
-
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python
2
2
  from setuptools import setup, find_packages
3
3
 
4
- __version__ = "0.9.0"
4
+ __version__ = "0.9.0.1"
5
5
 
6
6
  long_description = """TB2J is a Python package aimed to compute automatically the magnetic interactions (superexchange and Dzyaloshinskii-Moriya) between atoms of magnetic crystals from DFT Hamiltonian based on Wannier functions or Linear combination of atomic orbitals. It uses the Green's function method and take the local rigid spin rotation as a perturbation. The package can take the output from Wannier90, which is interfaced with many density functional theory codes or from codes based on localised orbitals. A minimal user input is needed, which allows for an easily integration into a high-throughput workflows. """
7
7
 
@@ -1 +0,0 @@
1
- __version__ = "0.9.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,8 +1,8 @@
1
- ase>=3.19
2
- matplotlib
3
1
  numpy>1.16.5
4
- packaging>=20.0
5
- pathos
6
- pre-commit
7
2
  scipy
3
+ matplotlib
4
+ ase>=3.19
8
5
  tqdm
6
+ pathos
7
+ packaging>=20.0
8
+ pre-commit
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes