TB2J 0.9.9rc16__tar.gz → 0.9.9rc18__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 (225) hide show
  1. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/PKG-INFO +1 -1
  2. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/MAEGreen.py +18 -11
  3. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/siesta_interface.py +14 -7
  4. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/io_exchange/__init__.py +2 -0
  5. tb2j-0.9.9rc18/TB2J/magnon/__init__.py +3 -0
  6. tb2j-0.9.9rc18/TB2J/magnon/io_exchange2.py +688 -0
  7. tb2j-0.9.9rc18/TB2J/magnon/plot.py +58 -0
  8. tb2j-0.9.9rc18/TB2J/magnon/structure.py +348 -0
  9. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/mathutils/__init__.py +1 -0
  10. tb2j-0.9.9rc18/TB2J/mathutils/magnons.py +45 -0
  11. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J.egg-info/PKG-INFO +1 -1
  12. tb2j-0.9.9rc18/TB2J.egg-info/SOURCES.txt +107 -0
  13. tb2j-0.9.9rc18/scripts/TB2J_magnon2.py +77 -0
  14. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/scripts/abacus2J.py +2 -2
  15. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/setup.py +2 -1
  16. tb2j-0.9.9rc16/.github/workflows/pylint.yml.bak +0 -23
  17. tb2j-0.9.9rc16/.github/workflows/python-app.yml +0 -44
  18. tb2j-0.9.9rc16/.gitignore +0 -131
  19. tb2j-0.9.9rc16/.pre-commit-config.yaml +0 -11
  20. tb2j-0.9.9rc16/.readthedocs.yml +0 -28
  21. tb2j-0.9.9rc16/.ruff.toml +0 -78
  22. tb2j-0.9.9rc16/.travis.yml +0 -33
  23. tb2j-0.9.9rc16/TB2J/.gitignore +0 -5
  24. tb2j-0.9.9rc16/TB2J/interfaces/abacus/.gitignore +0 -2
  25. tb2j-0.9.9rc16/TB2J.egg-info/SOURCES.txt +0 -216
  26. tb2j-0.9.9rc16/buildimage.sh +0 -51
  27. tb2j-0.9.9rc16/docs/Makefile +0 -20
  28. tb2j-0.9.9rc16/docs/_static/Logo-ULG.png +0 -0
  29. tb2j-0.9.9rc16/docs/_static/logo_TB2J_horizon.png +0 -0
  30. tb2j-0.9.9rc16/docs/conf.py +0 -67
  31. tb2j-0.9.9rc16/docs/index.rst +0 -44
  32. tb2j-0.9.9rc16/docs/make.bat +0 -35
  33. tb2j-0.9.9rc16/docs/requirements.txt +0 -3
  34. tb2j-0.9.9rc16/docs/src/BFOvarT.png +0 -0
  35. tb2j-0.9.9rc16/docs/src/Contributors.rst +0 -44
  36. tb2j-0.9.9rc16/docs/src/ReleaseNotes.md +0 -226
  37. tb2j-0.9.9rc16/docs/src/SrMnO3_DOS.png +0 -0
  38. tb2j-0.9.9rc16/docs/src/abacus.md +0 -103
  39. tb2j-0.9.9rc16/docs/src/applications.rst +0 -9
  40. tb2j-0.9.9rc16/docs/src/convention.rst +0 -18
  41. tb2j-0.9.9rc16/docs/src/development.md +0 -22
  42. tb2j-0.9.9rc16/docs/src/downfold.md +0 -28
  43. tb2j-0.9.9rc16/docs/src/ecosystem.md +0 -49
  44. tb2j-0.9.9rc16/docs/src/eigen.rst +0 -34
  45. tb2j-0.9.9rc16/docs/src/extend.rst +0 -45
  46. tb2j-0.9.9rc16/docs/src/faq.rst +0 -79
  47. tb2j-0.9.9rc16/docs/src/install.rst +0 -86
  48. tb2j-0.9.9rc16/docs/src/mae.md +0 -127
  49. tb2j-0.9.9rc16/docs/src/magnon_band.assets/exchange_magnon-1593690872101.png +0 -0
  50. tb2j-0.9.9rc16/docs/src/magnon_band.assets/exchange_magnon.png +0 -0
  51. tb2j-0.9.9rc16/docs/src/magnon_band.assets/magnon_dos.png +0 -0
  52. tb2j-0.9.9rc16/docs/src/magnon_band.rst +0 -98
  53. tb2j-0.9.9rc16/docs/src/multibinit.rst +0 -89
  54. tb2j-0.9.9rc16/docs/src/openmx.rst +0 -27
  55. tb2j-0.9.9rc16/docs/src/orbital_contribution.md +0 -80
  56. tb2j-0.9.9rc16/docs/src/output.rst +0 -52
  57. tb2j-0.9.9rc16/docs/src/parameters.rst +0 -89
  58. tb2j-0.9.9rc16/docs/src/references.rst +0 -36
  59. tb2j-0.9.9rc16/docs/src/roadmap.md +0 -8
  60. tb2j-0.9.9rc16/docs/src/rotate_and_merge.rst +0 -54
  61. tb2j-0.9.9rc16/docs/src/siesta.rst +0 -38
  62. tb2j-0.9.9rc16/docs/src/spin_model_assets/canting_DMI.png +0 -0
  63. tb2j-0.9.9rc16/docs/src/spin_model_assets/tmulti5_2.png +0 -0
  64. tb2j-0.9.9rc16/docs/src/symmetry.md +0 -42
  65. tb2j-0.9.9rc16/docs/src/tutorial.rst +0 -18
  66. tb2j-0.9.9rc16/docs/src/wannier.rst +0 -228
  67. tb2j-0.9.9rc16/examples/Siesta/BccFe/Fe.1.psml +0 -1181
  68. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/EigenJq.txt +0 -119
  69. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/exchange.xml +0 -4126
  70. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/exchange_kpth.txt +0 -8
  71. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/exchange_magnon.png +0 -0
  72. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon.py +0 -3
  73. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_band.json +0 -3332
  74. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_band.pdf +0 -0
  75. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_dos.png +0 -0
  76. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_dos.txt +0 -302
  77. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/mb.files +0 -3
  78. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/mb.in +0 -33
  79. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/plot.sh +0 -1
  80. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/plot_magnon_dos.sh +0 -1
  81. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/Multibinit/plot_magnon_from_json_file.py +0 -73
  82. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/TB2J.pickle +0 -0
  83. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/TomASD/exchange.exch +0 -1381
  84. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/TomASD/exchange.ucf +0 -3
  85. tb2j-0.9.9rc16/examples/Siesta/BccFe/TB2J_results/exchange.out +0 -3097
  86. tb2j-0.9.9rc16/examples/Siesta/BccFe/getJ.sh +0 -2
  87. tb2j-0.9.9rc16/examples/Siesta/BccFe/run.sh +0 -3
  88. tb2j-0.9.9rc16/examples/Siesta/BccFe/siesta.fdf +0 -61
  89. tb2j-0.9.9rc16/examples/Siesta/HcpCo/Co.1.psml +0 -3174
  90. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/Multibinit/exchange.xml +0 -7610
  91. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/Multibinit/mb.files +0 -3
  92. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/Multibinit/mb.in +0 -33
  93. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/TB2J.pickle +0 -0
  94. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/TomASD/exchange.exch +0 -2556
  95. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/TomASD/exchange.ucf +0 -4
  96. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/Vampire/input +0 -42
  97. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/Vampire/vampire.UCF +0 -644
  98. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/Vampire/vampire.mat +0 -24
  99. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/exchange.out +0 -5708
  100. tb2j-0.9.9rc16/examples/Siesta/HcpCo/TB2J_results/summary.txt +0 -10
  101. tb2j-0.9.9rc16/examples/Siesta/HcpCo/getJ.sh +0 -1
  102. tb2j-0.9.9rc16/examples/Siesta/HcpCo/run.sh +0 -3
  103. tb2j-0.9.9rc16/examples/Siesta/HcpCo/siesta.fdf +0 -63
  104. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/JvsR.pdf +0 -0
  105. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/Multibinit/exchange.xml +0 -533
  106. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/Multibinit/mb.files +0 -3
  107. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/Multibinit/mb.in +0 -33
  108. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/TB2J.pickle +0 -0
  109. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/TomASD/exchange.exch +0 -509
  110. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/TomASD/exchange.ucf +0 -3
  111. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/Vampire/input +0 -42
  112. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/Vampire/vampire.UCF +0 -135
  113. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/Vampire/vampire.mat +0 -13
  114. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/assigned_basis.txt +0 -14
  115. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/exchange.out +0 -406
  116. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/TB2J_results/exchange_orb_decomposition.out +0 -1274
  117. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/abinit.files +0 -8
  118. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/abinit.in +0 -83
  119. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/abinito_w90_down.win +0 -113
  120. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/abinito_w90_down_centres.xyz +0 -21
  121. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/abinito_w90_down_hr.dat +0 -24512
  122. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/abinito_w90_up.win +0 -113
  123. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/abinito_w90_up_centres.xyz +0 -21
  124. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/abinito_w90_up_hr.dat +0 -24512
  125. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/get_J.sh +0 -1
  126. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/psp/Mn.GGA-PBESOL-JTH.xml +0 -16818
  127. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/psp/O.GGA-PBESOL-JTH.xml +0 -12782
  128. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/psp/Sr.GGA-PBESOL-JTH.xml +0 -12646
  129. tb2j-0.9.9rc16/examples/abinit-w90/SrMnO3/run.sh +0 -6
  130. tb2j-0.9.9rc16/requirements.txt +0 -11
  131. tb2j-0.9.9rc16/upload_to_pip.sh +0 -5
  132. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/LICENSE +0 -0
  133. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/README.md +0 -0
  134. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/Jdownfolder.py +0 -0
  135. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/Jtensor.py +0 -0
  136. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/MAE.py +0 -0
  137. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/Oiju.py +0 -0
  138. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/Oiju_epc.py +0 -0
  139. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/__init__.py +0 -0
  140. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/anisotropy.py +0 -0
  141. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/basis.py +0 -0
  142. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/citation.py +0 -0
  143. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/contour.py +0 -0
  144. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/density_matrix.py +0 -0
  145. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/epc.py +0 -0
  146. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/exchange.py +0 -0
  147. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/exchangeCL2.py +0 -0
  148. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/exchange_params.py +0 -0
  149. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/exchange_pert.py +0 -0
  150. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/exchange_qspace.py +0 -0
  151. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/external/__init__.py +0 -0
  152. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/external/p_tqdm.py +0 -0
  153. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/gpaw_wrapper.py +0 -0
  154. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/green.py +0 -0
  155. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/greentest.py +0 -0
  156. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/__init__.py +0 -0
  157. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/abacus/__init__.py +0 -0
  158. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/abacus/abacus_api.py +0 -0
  159. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/abacus/abacus_wrapper.py +0 -0
  160. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/abacus/gen_exchange_abacus.py +0 -0
  161. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/abacus/orbital_api.py +0 -0
  162. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/abacus/stru_api.py +0 -0
  163. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/abacus/test_density_matrix.py +0 -0
  164. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/abacus/test_read_HRSR.py +0 -0
  165. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/abacus/test_read_stru.py +0 -0
  166. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/gpaw_interface.py +0 -0
  167. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/lawaf_interface.py +0 -0
  168. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/manager.py +0 -0
  169. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/interfaces/wannier90_interface.py +0 -0
  170. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/io_exchange/io_exchange.py +0 -0
  171. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/io_exchange/io_multibinit.py +0 -0
  172. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/io_exchange/io_tomsasd.py +0 -0
  173. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/io_exchange/io_txt.py +0 -0
  174. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/io_exchange/io_uppasd.py +0 -0
  175. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/io_exchange/io_vampire.py +0 -0
  176. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/io_merge.py +0 -0
  177. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/kpoints.py +0 -0
  178. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/mathutils/fermi.py +0 -0
  179. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/mathutils/fibonacci_sphere.py +0 -0
  180. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/mathutils/kR_convert.py +0 -0
  181. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/mathutils/lowdin.py +0 -0
  182. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/mathutils/rotate_spin.py +0 -0
  183. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/myTB.py +0 -0
  184. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/mycfr.py +0 -0
  185. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/orbital_magmom.py +0 -0
  186. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/orbmap.py +0 -0
  187. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/pauli.py +0 -0
  188. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/pert.py +0 -0
  189. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/plot.py +0 -0
  190. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/rotate_atoms.py +0 -0
  191. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/rotate_siestaDM.py +0 -0
  192. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/sisl_wrapper.py +0 -0
  193. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/spinham/__init__.py +0 -0
  194. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/spinham/base_parser.py +0 -0
  195. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/spinham/constants.py +0 -0
  196. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/spinham/hamiltonian.py +0 -0
  197. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/spinham/hamiltonian_terms.py +0 -0
  198. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/spinham/plot.py +0 -0
  199. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/spinham/qsolver.py +0 -0
  200. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/spinham/spin_api.py +0 -0
  201. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/spinham/spin_xml.py +0 -0
  202. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/spinham/supercell.py +0 -0
  203. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/symmetrize_J.py +0 -0
  204. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/tensor_rotate.py +0 -0
  205. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/thetaphi.py +0 -0
  206. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/utest.py +0 -0
  207. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/utils.py +0 -0
  208. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/versioninfo.py +0 -0
  209. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/wannier/__init__.py +0 -0
  210. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/wannier/w90_parser.py +0 -0
  211. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J/wannier/w90_tb_parser.py +0 -0
  212. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J.egg-info/dependency_links.txt +0 -0
  213. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J.egg-info/entry_points.txt +0 -0
  214. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J.egg-info/requires.txt +0 -0
  215. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/TB2J.egg-info/top_level.txt +0 -0
  216. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/scripts/TB2J_downfold.py +0 -0
  217. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/scripts/TB2J_eigen.py +0 -0
  218. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/scripts/TB2J_magnon.py +0 -0
  219. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/scripts/TB2J_magnon_dos.py +0 -0
  220. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/scripts/TB2J_merge.py +0 -0
  221. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/scripts/TB2J_rotate.py +0 -0
  222. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/scripts/TB2J_rotateDM.py +0 -0
  223. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/scripts/siesta2J.py +0 -0
  224. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/scripts/wann2J.py +0 -0
  225. {tb2j-0.9.9rc16 → tb2j-0.9.9rc18}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TB2J
3
- Version: 0.9.9rc16
3
+ Version: 0.9.9rc18
4
4
  Summary: TB2J: First principle to Heisenberg exchange J using tight-binding Green function method
5
5
  Author: Xu He
6
6
  Author-email: mailhexu@gmail.com
@@ -32,7 +32,9 @@ class MAEGreen(ExchangeNCL):
32
32
  """
33
33
  super().__init__(**kwargs)
34
34
  self.natoms = len(self.atoms)
35
- if angles is None or angles == "axis":
35
+ if angles is None or angles == "xyz":
36
+ self.set_angles_xyz()
37
+ elif angles == "axis":
36
38
  self.set_angles_axis()
37
39
  elif angles == "scan":
38
40
  self.set_angles_scan()
@@ -51,6 +53,12 @@ class MAEGreen(ExchangeNCL):
51
53
  self.es_atom = np.zeros((nangles, self.natoms), dtype=complex)
52
54
  self.es_atom_orb = DefaultDict(lambda: 0)
53
55
 
56
+ def set_angles_xyz(self):
57
+ """theta and phi are defined as the x, y, z, xy, yz, xz, xyz, x-yz, -xyz, -x-yz axis."""
58
+ self.thetas = [ np.pi / 2, np.pi / 2, 0.0]
59
+ self.phis = [ np.pi / 2, 0, 0.0]
60
+
61
+
54
62
  def set_angles_axis(self):
55
63
  """theta and phi are defined as the x, y, z, xy, yz, xz, xyz, x-yz, -xyz, -x-yz axis."""
56
64
  self.thetas = [0, np.pi / 2, np.pi / 2, np.pi / 2, np.pi, 0, np.pi / 2, 0, 0, 0]
@@ -75,7 +83,6 @@ class MAEGreen(ExchangeNCL):
75
83
  self.thetas = thetas
76
84
  self.phis = phis
77
85
  self.angle_pairs = list(zip(thetas, phis))
78
- # remove duplicates of angles using sets.
79
86
  self.angle_pairs = list(set(self.angle_pairs))
80
87
  self.thetas, self.phis = zip(*self.angle_pairs)
81
88
 
@@ -277,18 +284,18 @@ class MAEGreen(ExchangeNCL):
277
284
  f.write(f"{ea*1e3:.8f} ")
278
285
  f.write("\n")
279
286
 
280
- self.ani = self.fit_anisotropy_tensor()
281
- with open(fname_tensor, "w") as f:
282
- f.write("# Anisotropy tensor in meV\n")
283
- f.write(f"{self.ani.tensor_strings(include_isotropic=False)}\n")
287
+ #self.ani = self.fit_anisotropy_tensor()
288
+ #with open(fname_tensor, "w") as f:
289
+ # f.write("# Anisotropy tensor in meV\n")
290
+ # f.write(f"{self.ani.tensor_strings(include_isotropic=False)}\n")
284
291
 
285
- if figure3d is not None:
286
- self.ani.plot_3d(figname=fname_fig3d, show=False)
292
+ #if figure3d is not None:
293
+ # self.ani.plot_3d(figname=fname_fig3d, show=False)
287
294
 
288
- if figure_contourf is not None:
289
- self.ani.plot_contourf(figname=fname_figcontourf, show=False)
295
+ #if figure_contourf is not None:
296
+ # self.ani.plot_contourf(figname=fname_figcontourf, show=False)
290
297
 
291
- plt.close()
298
+ #plt.close()
292
299
  gc.collect()
293
300
 
294
301
  with open(fname_orb, "w") as f:
@@ -5,6 +5,7 @@ import numpy as np
5
5
  from TB2J.exchange import ExchangeNCL
6
6
  from TB2J.exchangeCL2 import ExchangeCL2
7
7
  from TB2J.MAEGreen import MAEGreen
8
+ from TB2J.io_merge import merge
8
9
 
9
10
  try:
10
11
  from HamiltonIO.siesta import SislParser
@@ -156,18 +157,18 @@ Warning: The DMI component parallel to the spin orientation, the Jani which has
156
157
  atoms=model.atoms,
157
158
  basis=basis,
158
159
  efermi=None,
159
- angles="miller",
160
+ angles="axis",
160
161
  # magnetic_elements=magnetic_elements,
161
162
  # include_orbs=include_orbs,
162
163
  **exargs,
163
164
  )
164
- # thetas = [0, np.pi / 2, np.pi, 3 * np.pi / 2]
165
- # phis = [0, 0, 0, 0]
166
- # MAE.set_angles(thetas=thetas, phis=phis)
165
+ #thetas = [0, np.pi / 2, np.pi, 3 * np.pi / 2]
166
+ #phis = [0, 0, 0, 0]
167
+ #MAE.set_angles(thetas=thetas, phis=phis)
167
168
  MAE.run(output_path=f"{output_path}_anisotropy", with_eigen=False)
168
- print(
169
- f"MAE calculation finished. The results are in {output_path} directory."
170
- )
169
+ #print(
170
+ # f"MAE calculation finished. The results are in {output_path} directory."
171
+ #)
171
172
 
172
173
  angle = {"x": (np.pi / 2, 0), "y": (np.pi / 2, np.pi / 2), "z": (0, 0)}
173
174
  for key, val in angle.items():
@@ -191,3 +192,9 @@ Warning: The DMI component parallel to the spin orientation, the Jani which has
191
192
  print(
192
193
  f"All calculation finished. The results are in {output_path_full} directory."
193
194
  )
195
+
196
+
197
+ merge("TB2J_results_x", "TB2J_results_y", "TB2J_results_z", main_path=None, save=True, write_path='TB2J_results')
198
+ print("Final TB2J_results written to TB2J_results directory.")
199
+
200
+
@@ -1 +1,3 @@
1
1
  from .io_exchange import SpinIO
2
+
3
+ __all__ = ["SpinIO"]
@@ -0,0 +1,3 @@
1
+ from .io_exchange2 import ExchangeIO, plot_tb2j_magnon_bands
2
+
3
+ __all__ = ["ExchangeIO", "plot_tb2j_magnon_bands"]