TB2J 0.9.9rc12__tar.gz → 0.9.9rc16__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 (218) hide show
  1. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/PKG-INFO +2 -2
  2. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/exchange_params.py +6 -1
  3. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/io_exchange/io_exchange.py +2 -5
  4. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/rotate_atoms.py +3 -3
  5. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J.egg-info/PKG-INFO +2 -2
  6. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J.egg-info/requires.txt +1 -1
  7. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/ecosystem.md +2 -4
  8. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/scripts/abacus2J.py +6 -2
  9. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/scripts/siesta2J.py +5 -1
  10. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/scripts/wann2J.py +6 -2
  11. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/setup.py +2 -2
  12. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/.github/workflows/pylint.yml.bak +0 -0
  13. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/.github/workflows/python-app.yml +0 -0
  14. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/.gitignore +0 -0
  15. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/.pre-commit-config.yaml +0 -0
  16. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/.readthedocs.yml +0 -0
  17. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/.ruff.toml +0 -0
  18. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/.travis.yml +0 -0
  19. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/LICENSE +0 -0
  20. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/README.md +0 -0
  21. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/.gitignore +0 -0
  22. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/Jdownfolder.py +0 -0
  23. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/Jtensor.py +0 -0
  24. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/MAE.py +0 -0
  25. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/MAEGreen.py +0 -0
  26. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/Oiju.py +0 -0
  27. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/Oiju_epc.py +0 -0
  28. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/__init__.py +0 -0
  29. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/anisotropy.py +0 -0
  30. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/basis.py +0 -0
  31. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/citation.py +0 -0
  32. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/contour.py +0 -0
  33. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/density_matrix.py +0 -0
  34. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/epc.py +0 -0
  35. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/exchange.py +0 -0
  36. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/exchangeCL2.py +0 -0
  37. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/exchange_pert.py +0 -0
  38. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/exchange_qspace.py +0 -0
  39. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/external/__init__.py +0 -0
  40. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/external/p_tqdm.py +0 -0
  41. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/gpaw_wrapper.py +0 -0
  42. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/green.py +0 -0
  43. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/greentest.py +0 -0
  44. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/__init__.py +0 -0
  45. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/abacus/.gitignore +0 -0
  46. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/abacus/__init__.py +0 -0
  47. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/abacus/abacus_api.py +0 -0
  48. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/abacus/abacus_wrapper.py +0 -0
  49. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/abacus/gen_exchange_abacus.py +0 -0
  50. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/abacus/orbital_api.py +0 -0
  51. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/abacus/stru_api.py +0 -0
  52. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/abacus/test_density_matrix.py +0 -0
  53. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/abacus/test_read_HRSR.py +0 -0
  54. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/abacus/test_read_stru.py +0 -0
  55. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/gpaw_interface.py +0 -0
  56. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/lawaf_interface.py +0 -0
  57. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/manager.py +0 -0
  58. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/siesta_interface.py +0 -0
  59. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/interfaces/wannier90_interface.py +0 -0
  60. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/io_exchange/__init__.py +0 -0
  61. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/io_exchange/io_multibinit.py +0 -0
  62. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/io_exchange/io_tomsasd.py +0 -0
  63. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/io_exchange/io_txt.py +0 -0
  64. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/io_exchange/io_uppasd.py +0 -0
  65. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/io_exchange/io_vampire.py +0 -0
  66. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/io_merge.py +0 -0
  67. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/kpoints.py +0 -0
  68. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/mathutils/__init__.py +0 -0
  69. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/mathutils/fermi.py +0 -0
  70. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/mathutils/fibonacci_sphere.py +0 -0
  71. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/mathutils/kR_convert.py +0 -0
  72. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/mathutils/lowdin.py +0 -0
  73. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/mathutils/rotate_spin.py +0 -0
  74. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/myTB.py +0 -0
  75. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/mycfr.py +0 -0
  76. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/orbital_magmom.py +0 -0
  77. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/orbmap.py +0 -0
  78. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/pauli.py +0 -0
  79. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/pert.py +0 -0
  80. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/plot.py +0 -0
  81. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/rotate_siestaDM.py +0 -0
  82. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/sisl_wrapper.py +0 -0
  83. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/spinham/__init__.py +0 -0
  84. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/spinham/base_parser.py +0 -0
  85. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/spinham/constants.py +0 -0
  86. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/spinham/hamiltonian.py +0 -0
  87. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/spinham/hamiltonian_terms.py +0 -0
  88. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/spinham/plot.py +0 -0
  89. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/spinham/qsolver.py +0 -0
  90. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/spinham/spin_api.py +0 -0
  91. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/spinham/spin_xml.py +0 -0
  92. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/spinham/supercell.py +0 -0
  93. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/symmetrize_J.py +0 -0
  94. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/tensor_rotate.py +0 -0
  95. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/thetaphi.py +0 -0
  96. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/utest.py +0 -0
  97. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/utils.py +0 -0
  98. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/versioninfo.py +0 -0
  99. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/wannier/__init__.py +0 -0
  100. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/wannier/w90_parser.py +0 -0
  101. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J/wannier/w90_tb_parser.py +0 -0
  102. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J.egg-info/SOURCES.txt +0 -0
  103. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J.egg-info/dependency_links.txt +0 -0
  104. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J.egg-info/entry_points.txt +0 -0
  105. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/TB2J.egg-info/top_level.txt +0 -0
  106. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/buildimage.sh +0 -0
  107. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/Makefile +0 -0
  108. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/_static/Logo-ULG.png +0 -0
  109. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/_static/logo_TB2J_horizon.png +0 -0
  110. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/conf.py +0 -0
  111. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/index.rst +0 -0
  112. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/make.bat +0 -0
  113. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/requirements.txt +0 -0
  114. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/BFOvarT.png +0 -0
  115. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/Contributors.rst +0 -0
  116. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/ReleaseNotes.md +0 -0
  117. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/SrMnO3_DOS.png +0 -0
  118. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/abacus.md +0 -0
  119. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/applications.rst +0 -0
  120. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/convention.rst +0 -0
  121. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/development.md +0 -0
  122. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/downfold.md +0 -0
  123. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/eigen.rst +0 -0
  124. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/extend.rst +0 -0
  125. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/faq.rst +0 -0
  126. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/install.rst +0 -0
  127. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/mae.md +0 -0
  128. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/magnon_band.assets/exchange_magnon-1593690872101.png +0 -0
  129. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/magnon_band.assets/exchange_magnon.png +0 -0
  130. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/magnon_band.assets/magnon_dos.png +0 -0
  131. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/magnon_band.rst +0 -0
  132. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/multibinit.rst +0 -0
  133. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/openmx.rst +0 -0
  134. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/orbital_contribution.md +0 -0
  135. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/output.rst +0 -0
  136. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/parameters.rst +0 -0
  137. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/references.rst +0 -0
  138. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/roadmap.md +0 -0
  139. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/rotate_and_merge.rst +0 -0
  140. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/siesta.rst +0 -0
  141. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/spin_model_assets/canting_DMI.png +0 -0
  142. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/spin_model_assets/tmulti5_2.png +0 -0
  143. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/symmetry.md +0 -0
  144. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/tutorial.rst +0 -0
  145. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/docs/src/wannier.rst +0 -0
  146. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/Fe.1.psml +0 -0
  147. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/EigenJq.txt +0 -0
  148. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/exchange.xml +0 -0
  149. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/exchange_kpth.txt +0 -0
  150. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/exchange_magnon.png +0 -0
  151. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon.py +0 -0
  152. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_band.json +0 -0
  153. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_band.pdf +0 -0
  154. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_dos.png +0 -0
  155. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_dos.txt +0 -0
  156. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/mb.files +0 -0
  157. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/mb.in +0 -0
  158. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/plot.sh +0 -0
  159. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/plot_magnon_dos.sh +0 -0
  160. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/Multibinit/plot_magnon_from_json_file.py +0 -0
  161. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/TB2J.pickle +0 -0
  162. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/TomASD/exchange.exch +0 -0
  163. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/TomASD/exchange.ucf +0 -0
  164. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/TB2J_results/exchange.out +0 -0
  165. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/getJ.sh +0 -0
  166. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/run.sh +0 -0
  167. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/BccFe/siesta.fdf +0 -0
  168. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/Co.1.psml +0 -0
  169. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/Multibinit/exchange.xml +0 -0
  170. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/Multibinit/mb.files +0 -0
  171. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/Multibinit/mb.in +0 -0
  172. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/TB2J.pickle +0 -0
  173. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/TomASD/exchange.exch +0 -0
  174. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/TomASD/exchange.ucf +0 -0
  175. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/Vampire/input +0 -0
  176. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/Vampire/vampire.UCF +0 -0
  177. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/Vampire/vampire.mat +0 -0
  178. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/exchange.out +0 -0
  179. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/TB2J_results/summary.txt +0 -0
  180. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/getJ.sh +0 -0
  181. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/run.sh +0 -0
  182. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/Siesta/HcpCo/siesta.fdf +0 -0
  183. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/JvsR.pdf +0 -0
  184. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/Multibinit/exchange.xml +0 -0
  185. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/Multibinit/mb.files +0 -0
  186. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/Multibinit/mb.in +0 -0
  187. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/TB2J.pickle +0 -0
  188. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/TomASD/exchange.exch +0 -0
  189. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/TomASD/exchange.ucf +0 -0
  190. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/Vampire/input +0 -0
  191. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/Vampire/vampire.UCF +0 -0
  192. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/Vampire/vampire.mat +0 -0
  193. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/assigned_basis.txt +0 -0
  194. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/exchange.out +0 -0
  195. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/TB2J_results/exchange_orb_decomposition.out +0 -0
  196. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/abinit.files +0 -0
  197. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/abinit.in +0 -0
  198. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/abinito_w90_down.win +0 -0
  199. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/abinito_w90_down_centres.xyz +0 -0
  200. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/abinito_w90_down_hr.dat +0 -0
  201. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/abinito_w90_up.win +0 -0
  202. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/abinito_w90_up_centres.xyz +0 -0
  203. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/abinito_w90_up_hr.dat +0 -0
  204. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/get_J.sh +0 -0
  205. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/psp/Mn.GGA-PBESOL-JTH.xml +0 -0
  206. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/psp/O.GGA-PBESOL-JTH.xml +0 -0
  207. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/psp/Sr.GGA-PBESOL-JTH.xml +0 -0
  208. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/examples/abinit-w90/SrMnO3/run.sh +0 -0
  209. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/requirements.txt +0 -0
  210. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/scripts/TB2J_downfold.py +0 -0
  211. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/scripts/TB2J_eigen.py +0 -0
  212. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/scripts/TB2J_magnon.py +0 -0
  213. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/scripts/TB2J_magnon_dos.py +0 -0
  214. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/scripts/TB2J_merge.py +0 -0
  215. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/scripts/TB2J_rotate.py +0 -0
  216. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/scripts/TB2J_rotateDM.py +0 -0
  217. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/setup.cfg +0 -0
  218. {tb2j-0.9.9rc12 → tb2j-0.9.9rc16}/upload_to_pip.sh +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TB2J
3
- Version: 0.9.9rc12
3
+ Version: 0.9.9rc16
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
@@ -21,7 +21,7 @@ Requires-Dist: ase>=3.19
21
21
  Requires-Dist: tqdm
22
22
  Requires-Dist: pathos
23
23
  Requires-Dist: packaging>=20.0
24
- Requires-Dist: HamiltonIO>=0.1.10
24
+ Requires-Dist: HamiltonIO>=0.2.1
25
25
  Requires-Dist: pre-commit
26
26
  Requires-Dist: sympair>0.1.0
27
27
  Requires-Dist: sisl>=0.9.0
@@ -251,6 +251,11 @@ def add_exchange_args_to_parser(parser: argparse.ArgumentParser):
251
251
 
252
252
 
253
253
  def parser_argument_to_dict(args) -> dict:
254
+ ind_mag_atoms = args.index_magnetic_atoms
255
+ if ind_mag_atoms is not None:
256
+ ind_mag_atoms = [int(i) - 1 for i in ind_mag_atoms]
257
+ else:
258
+ ind_mag_atoms = None
254
259
  return {
255
260
  "efermi": args.efermi,
256
261
  "magnetic_elements": args.elements,
@@ -268,5 +273,5 @@ def parser_argument_to_dict(args) -> dict:
268
273
  "orb_decomposition": args.orb_decomposition,
269
274
  "output_path": args.output_path,
270
275
  "orth": args.orth,
271
- "index_magnetic_atoms": args.index_magnetic_atoms,
276
+ "index_magnetic_atoms": ind_mag_atoms,
272
277
  }
@@ -8,16 +8,13 @@ write not only xml output.
8
8
  - tom's asd inputs.
9
9
  """
10
10
 
11
+ # matplotlib.use("Agg")
12
+ import gc
11
13
  import os
12
14
  import pickle
13
15
  from collections.abc import Iterable
14
16
  from datetime import datetime
15
17
 
16
- import matplotlib
17
-
18
- matplotlib.use("Agg")
19
- import gc
20
-
21
18
  import matplotlib.pyplot as plt
22
19
  import numpy as np
23
20
 
@@ -15,7 +15,6 @@ def rotate_atom_xyz(atoms, noncollinear=False):
15
15
  will be generated.
16
16
  """
17
17
 
18
- yield atoms
19
18
  rotation_axes = [(1, 0, 0), (0, 1, 0)]
20
19
  if noncollinear:
21
20
  rotation_axes += [(1, 1, 0), (1, 0, 1), (0, 1, 1)]
@@ -24,7 +23,6 @@ def rotate_atom_xyz(atoms, noncollinear=False):
24
23
  rotated_atoms = copy.deepcopy(atoms)
25
24
  rotated_atoms.rotate(90, axis, rotate_cell=True)
26
25
  yield rotated_atoms
27
- yield atoms
28
26
 
29
27
 
30
28
  def rotate_atom_spin_one_rotation(atoms, Rotation):
@@ -111,5 +109,7 @@ def rotate_xyz(fname, ftype="xyz", noncollinear=False):
111
109
  rotated = rotate_atom_xyz(atoms, noncollinear=noncollinear)
112
110
 
113
111
  for i, rotated_atoms in enumerate(rotated):
114
- write(f"atoms_{i}.{ftype}", rotated_atoms)
112
+ write(f"atoms_{i+1}.{ftype}", rotated_atoms)
113
+ write(f"atoms_0.{ftype}", atoms)
114
+
115
115
  print(f"The output has been written to the atoms_i.{ftype} files. atoms_0.{ftype} contains the reference structure.")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TB2J
3
- Version: 0.9.9rc12
3
+ Version: 0.9.9rc16
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
@@ -21,7 +21,7 @@ Requires-Dist: ase>=3.19
21
21
  Requires-Dist: tqdm
22
22
  Requires-Dist: pathos
23
23
  Requires-Dist: packaging>=20.0
24
- Requires-Dist: HamiltonIO>=0.1.10
24
+ Requires-Dist: HamiltonIO>=0.2.1
25
25
  Requires-Dist: pre-commit
26
26
  Requires-Dist: sympair>0.1.0
27
27
  Requires-Dist: sisl>=0.9.0
@@ -5,7 +5,7 @@ ase>=3.19
5
5
  tqdm
6
6
  pathos
7
7
  packaging>=20.0
8
- HamiltonIO>=0.1.10
8
+ HamiltonIO>=0.2.1
9
9
  pre-commit
10
10
  sympair>0.1.0
11
11
  sisl>=0.9.0
@@ -28,11 +28,9 @@ TB2J can provide the input files containing the parameters for Heisenberg models
28
28
 
29
29
  * [AiiDA\_TB2J\_plugin](https://github.com/antelmor/aiida_tb2j_plugin/tree/groundstate2/aiida_tb2j): AiiDA\_TB2J\_plugin is a AiiDA plugin for high-throughput Siesta-TB2J calculations within the framework of [AiiDA](https://www.aiida.net/).
30
30
 
31
- #### Codes for Linear Spin Wave method and magnon band structure
32
-
33
- * [RAD-tools](https://rad-tools.org/): RAD-tools is a python package for the spin Hamiltonian analysis (with built-in notation changes) and magnon band structure calculation. It is interfaced directly with the TB2J .txt output ("exchange.out") and can compute the magnon band structure via the [linear spin wave theory](https://rad-tools.org/en/stable/user-guide/library/magnon-dispersion.html) for **ferromagnetic**, **antiferromagnetic** and **spiral** magnetic structures. Documentation of the usage can be found on the package website: if you know python - [use as library](https://rad-tools.org/en/stable/user-guide/module/magnons/index.html) or if you do not know python - [use console interface](https://rad-tools.org/en/stable/user-guide/scripts/rad-plot-tb2j-magnons.html).
34
-
31
+ #### Codes for Spin Wave methods
35
32
 
33
+ * [magnopy](https://magnopy.org/): magnopy is an open-source python package that analyses spin Hamiltonian (with built-in manipulation of notation) on periodic lattices at several levels of spin wave theory. It is interfaced directly with the TB2J's text output ("exchange.out") and can output magnon band structure, among other thing. It can be used as a python library of within the command line interface.
36
34
 
37
35
 
38
36
  #### Related software without already-built interface with TB2J
@@ -28,7 +28,11 @@ def run_abacus2J():
28
28
 
29
29
  args = parser.parse_args()
30
30
 
31
- if args.elements is None:
31
+ index_magnetic_atoms = args.index_magnetic_atoms
32
+ if not index_magnetic_atoms is None:
33
+ index_magnetic_atoms = [i-1 for i in index_magnetic_atoms]
34
+
35
+ if args.elements is None and index_magnetic_atoms is None:
32
36
  print("Please input the magnetic elements, e.g. --elements Fe Ni")
33
37
  sys.exit()
34
38
 
@@ -49,7 +53,7 @@ def run_abacus2J():
49
53
  nproc=args.nproc,
50
54
  exclude_orbs=args.exclude_orbs,
51
55
  orb_decomposition=args.orb_decomposition,
52
- index_magnetic_atoms=args.index_magnetic_atoms,
56
+ index_magnetic_atoms=index_magnetic_atoms,
53
57
  cutoff=args.cutoff,
54
58
  )
55
59
 
@@ -47,6 +47,10 @@ def run_siesta2J():
47
47
  # else:
48
48
  # include_orbs[element] = None
49
49
 
50
+ index_magnetic_atoms = args.index_magnetic_atoms
51
+ if index_magnetic_atoms is not None:
52
+ index_magnetic_atoms = [i - 1 for i in index_magnetic_atoms]
53
+
50
54
  gen_exchange_siesta(
51
55
  fdf_fname=args.fdf_fname,
52
56
  kmesh=args.kmesh,
@@ -66,7 +70,7 @@ def run_siesta2J():
66
70
  orb_decomposition=args.orb_decomposition,
67
71
  read_H_soc=args.split_soc,
68
72
  orth=args.orth,
69
- index_magnetic_atoms=args.index_magnetic_atoms,
73
+ index_magnetic_atoms=index_magnetic_atoms,
70
74
  )
71
75
 
72
76
 
@@ -61,10 +61,14 @@ def run_wann2J():
61
61
  if args.efermi is None:
62
62
  print("Please input fermi energy using --efermi ")
63
63
  sys.exit()
64
- if args.elements is None:
64
+ if args.elements is None and args.index_magnetic_atoms is None:
65
65
  print("Please input the magnetic elements, e.g. --elements Fe Ni")
66
66
  sys.exit()
67
67
 
68
+ index_magnetic_atoms = args.index_magnetic_atoms
69
+ if index_magnetic_atoms is not None:
70
+ index_magnetic_atoms = [i - 1 for i in index_magnetic_atoms]
71
+
68
72
  gen_exchange(
69
73
  path=args.path,
70
74
  colinear=(not args.spinor),
@@ -89,7 +93,7 @@ def run_wann2J():
89
93
  # qspace=args.qspace,
90
94
  write_density_matrix=args.write_dm,
91
95
  orb_decomposition=args.orb_decomposition,
92
- index_magnetic_atoms=args.index_magnetic_atoms,
96
+ index_magnetic_atoms=index_magnetic_atoms,
93
97
  )
94
98
 
95
99
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python
2
2
  from setuptools import find_packages, setup
3
3
 
4
- __version__ = "0.9.9rc12"
4
+ __version__ = "0.9.9rc16"
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
 
@@ -40,7 +40,7 @@ setup(
40
40
  "tqdm",
41
41
  "pathos",
42
42
  "packaging>=20.0",
43
- "HamiltonIO>=0.1.10",
43
+ "HamiltonIO>=0.2.1",
44
44
  "pre-commit",
45
45
  "sympair>0.1.0",
46
46
  "sisl>=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
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