TB2J 0.9.12.3__tar.gz → 0.9.12.6__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 (236) hide show
  1. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/PKG-INFO +1 -1
  2. tb2j-0.9.12.6/TB2J/__init__.py +1 -0
  3. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/TB2J_eigen.py +2 -1
  4. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/TB2J_merge.py +1 -1
  5. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/versioninfo.py +3 -0
  6. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J.egg-info/PKG-INFO +1 -1
  7. tb2j-0.9.12.6/TB2J.egg-info/SOURCES.txt +116 -0
  8. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J.egg-info/entry_points.txt +3 -4
  9. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/pyproject.toml +6 -7
  10. tb2j-0.9.12.3/.github/workflows/pylint.yml.bak +0 -23
  11. tb2j-0.9.12.3/.github/workflows/python-app.yml +0 -44
  12. tb2j-0.9.12.3/.gitignore +0 -131
  13. tb2j-0.9.12.3/.pre-commit-config.yaml +0 -11
  14. tb2j-0.9.12.3/.readthedocs.yml +0 -28
  15. tb2j-0.9.12.3/.ruff.toml +0 -78
  16. tb2j-0.9.12.3/.travis.yml +0 -33
  17. tb2j-0.9.12.3/TB2J/.gitignore +0 -5
  18. tb2j-0.9.12.3/TB2J/__init__.py +0 -1
  19. tb2j-0.9.12.3/TB2J/interfaces/abacus/.gitignore +0 -2
  20. tb2j-0.9.12.3/TB2J.egg-info/SOURCES.txt +0 -232
  21. tb2j-0.9.12.3/buildimage.sh +0 -51
  22. tb2j-0.9.12.3/docs/Makefile +0 -20
  23. tb2j-0.9.12.3/docs/_static/Logo-ULG.png +0 -0
  24. tb2j-0.9.12.3/docs/_static/logo_TB2J_horizon.png +0 -0
  25. tb2j-0.9.12.3/docs/conf.py +0 -67
  26. tb2j-0.9.12.3/docs/index.rst +0 -44
  27. tb2j-0.9.12.3/docs/make.bat +0 -35
  28. tb2j-0.9.12.3/docs/requirements.txt +0 -3
  29. tb2j-0.9.12.3/docs/src/BFOvarT.png +0 -0
  30. tb2j-0.9.12.3/docs/src/Contributors.rst +0 -44
  31. tb2j-0.9.12.3/docs/src/ReleaseNotes.md +0 -226
  32. tb2j-0.9.12.3/docs/src/SrMnO3_DOS.png +0 -0
  33. tb2j-0.9.12.3/docs/src/abacus.md +0 -103
  34. tb2j-0.9.12.3/docs/src/applications.rst +0 -9
  35. tb2j-0.9.12.3/docs/src/convention.rst +0 -18
  36. tb2j-0.9.12.3/docs/src/development.md +0 -22
  37. tb2j-0.9.12.3/docs/src/downfold.md +0 -28
  38. tb2j-0.9.12.3/docs/src/ecosystem.md +0 -49
  39. tb2j-0.9.12.3/docs/src/eigen.rst +0 -34
  40. tb2j-0.9.12.3/docs/src/extend.rst +0 -45
  41. tb2j-0.9.12.3/docs/src/faq.rst +0 -79
  42. tb2j-0.9.12.3/docs/src/install.rst +0 -123
  43. tb2j-0.9.12.3/docs/src/mae.md +0 -127
  44. tb2j-0.9.12.3/docs/src/magnon_band.assets/exchange_magnon-1593690872101.png +0 -0
  45. tb2j-0.9.12.3/docs/src/magnon_band.assets/exchange_magnon.png +0 -0
  46. tb2j-0.9.12.3/docs/src/magnon_band.assets/magnon_dos.png +0 -0
  47. tb2j-0.9.12.3/docs/src/magnon_band.rst +0 -74
  48. tb2j-0.9.12.3/docs/src/magnon_bands.md +0 -177
  49. tb2j-0.9.12.3/docs/src/multibinit.rst +0 -89
  50. tb2j-0.9.12.3/docs/src/openmx.rst +0 -27
  51. tb2j-0.9.12.3/docs/src/orbital_contribution.md +0 -80
  52. tb2j-0.9.12.3/docs/src/output.rst +0 -52
  53. tb2j-0.9.12.3/docs/src/parameters.rst +0 -89
  54. tb2j-0.9.12.3/docs/src/references.rst +0 -36
  55. tb2j-0.9.12.3/docs/src/roadmap.md +0 -8
  56. tb2j-0.9.12.3/docs/src/rotate_and_merge.rst +0 -54
  57. tb2j-0.9.12.3/docs/src/siesta.rst +0 -38
  58. tb2j-0.9.12.3/docs/src/spin_model_assets/canting_DMI.png +0 -0
  59. tb2j-0.9.12.3/docs/src/spin_model_assets/tmulti5_2.png +0 -0
  60. tb2j-0.9.12.3/docs/src/symmetry.md +0 -42
  61. tb2j-0.9.12.3/docs/src/tutorial.rst +0 -18
  62. tb2j-0.9.12.3/docs/src/wannier.rst +0 -228
  63. tb2j-0.9.12.3/examples/Siesta/BccFe/Fe.1.psml +0 -1181
  64. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/EigenJq.txt +0 -119
  65. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/exchange.xml +0 -4126
  66. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/exchange_kpth.txt +0 -8
  67. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/exchange_magnon.png +0 -0
  68. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon.py +0 -3
  69. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_band.json +0 -3332
  70. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_band.pdf +0 -0
  71. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_dos.png +0 -0
  72. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/magnon_dos.txt +0 -302
  73. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/mb.files +0 -3
  74. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/mb.in +0 -33
  75. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/plot.sh +0 -1
  76. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/plot_magnon_dos.sh +0 -1
  77. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/Multibinit/plot_magnon_from_json_file.py +0 -73
  78. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/TB2J.pickle +0 -0
  79. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/TomASD/exchange.exch +0 -1381
  80. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/TomASD/exchange.ucf +0 -3
  81. tb2j-0.9.12.3/examples/Siesta/BccFe/TB2J_results/exchange.out +0 -3097
  82. tb2j-0.9.12.3/examples/Siesta/BccFe/getJ.sh +0 -2
  83. tb2j-0.9.12.3/examples/Siesta/BccFe/run.sh +0 -3
  84. tb2j-0.9.12.3/examples/Siesta/BccFe/siesta.fdf +0 -61
  85. tb2j-0.9.12.3/examples/Siesta/HcpCo/Co.1.psml +0 -3174
  86. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/Multibinit/exchange.xml +0 -7610
  87. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/Multibinit/mb.files +0 -3
  88. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/Multibinit/mb.in +0 -33
  89. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/TB2J.pickle +0 -0
  90. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/TomASD/exchange.exch +0 -2556
  91. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/TomASD/exchange.ucf +0 -4
  92. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/Vampire/input +0 -42
  93. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/Vampire/vampire.UCF +0 -644
  94. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/Vampire/vampire.mat +0 -24
  95. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/exchange.out +0 -5708
  96. tb2j-0.9.12.3/examples/Siesta/HcpCo/TB2J_results/summary.txt +0 -10
  97. tb2j-0.9.12.3/examples/Siesta/HcpCo/getJ.sh +0 -1
  98. tb2j-0.9.12.3/examples/Siesta/HcpCo/run.sh +0 -3
  99. tb2j-0.9.12.3/examples/Siesta/HcpCo/siesta.fdf +0 -63
  100. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/JvsR.pdf +0 -0
  101. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/Multibinit/exchange.xml +0 -533
  102. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/Multibinit/mb.files +0 -3
  103. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/Multibinit/mb.in +0 -33
  104. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/TB2J.pickle +0 -0
  105. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/TomASD/exchange.exch +0 -509
  106. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/TomASD/exchange.ucf +0 -3
  107. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/Vampire/input +0 -42
  108. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/Vampire/vampire.UCF +0 -135
  109. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/Vampire/vampire.mat +0 -13
  110. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/assigned_basis.txt +0 -14
  111. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/exchange.out +0 -406
  112. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/TB2J_results/exchange_orb_decomposition.out +0 -1274
  113. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/abinit.files +0 -8
  114. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/abinit.in +0 -83
  115. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/abinito_w90_down.win +0 -113
  116. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/abinito_w90_down_centres.xyz +0 -21
  117. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/abinito_w90_down_hr.dat +0 -24512
  118. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/abinito_w90_up.win +0 -113
  119. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/abinito_w90_up_centres.xyz +0 -21
  120. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/abinito_w90_up_hr.dat +0 -24512
  121. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/get_J.sh +0 -1
  122. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/psp/Mn.GGA-PBESOL-JTH.xml +0 -16818
  123. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/psp/O.GGA-PBESOL-JTH.xml +0 -12782
  124. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/psp/Sr.GGA-PBESOL-JTH.xml +0 -12646
  125. tb2j-0.9.12.3/examples/abinit-w90/SrMnO3/run.sh +0 -6
  126. tb2j-0.9.12.3/requirements.txt +0 -11
  127. tb2j-0.9.12.3/upload_to_pip.sh +0 -5
  128. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/LICENSE +0 -0
  129. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/README.md +0 -0
  130. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/Jdownfolder.py +0 -0
  131. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/Jtensor.py +0 -0
  132. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/MAE.py +0 -0
  133. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/MAEGreen.py +0 -0
  134. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/Oiju.py +0 -0
  135. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/Oiju_epc.py +0 -0
  136. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/anisotropy.py +0 -0
  137. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/basis.py +0 -0
  138. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/citation.py +0 -0
  139. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/contour.py +0 -0
  140. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/density_matrix.py +0 -0
  141. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/downfold/Hdownfolder.py +0 -0
  142. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/epc.py +0 -0
  143. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/exchange.py +0 -0
  144. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/exchangeCL2.py +0 -0
  145. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/exchange_params.py +0 -0
  146. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/exchange_pert.py +0 -0
  147. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/exchange_qspace.py +0 -0
  148. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/external/__init__.py +0 -0
  149. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/external/p_tqdm.py +0 -0
  150. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/gpaw_wrapper.py +0 -0
  151. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/green.py +0 -0
  152. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/greentest.py +0 -0
  153. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/__init__.py +0 -0
  154. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/abacus/__init__.py +0 -0
  155. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/abacus/abacus_api.py +0 -0
  156. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/abacus/abacus_wrapper.py +0 -0
  157. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/abacus/gen_exchange_abacus.py +0 -0
  158. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/abacus/orbital_api.py +0 -0
  159. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/abacus/stru_api.py +0 -0
  160. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/abacus/test_density_matrix.py +0 -0
  161. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/abacus/test_read_HRSR.py +0 -0
  162. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/abacus/test_read_stru.py +0 -0
  163. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/gpaw_interface.py +0 -0
  164. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/lawaf_interface.py +0 -0
  165. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/manager.py +0 -0
  166. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/siesta_interface.py +0 -0
  167. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/interfaces/wannier90_interface.py +0 -0
  168. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/io_exchange/__init__.py +0 -0
  169. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/io_exchange/io_exchange.py +0 -0
  170. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/io_exchange/io_multibinit.py +0 -0
  171. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/io_exchange/io_tomsasd.py +0 -0
  172. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/io_exchange/io_txt.py +0 -0
  173. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/io_exchange/io_uppasd.py +0 -0
  174. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/io_exchange/io_vampire.py +0 -0
  175. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/io_merge.py +0 -0
  176. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/kpoints.py +0 -0
  177. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/magnon/__init__.py +0 -0
  178. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/magnon/io_exchange2.py +0 -0
  179. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/magnon/magnon3.py +0 -0
  180. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/magnon/magnon_band.py +0 -0
  181. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/magnon/magnon_dos.py +0 -0
  182. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/magnon/magnon_io.py +0 -0
  183. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/magnon/magnon_math.py +0 -0
  184. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/magnon/plot.py +0 -0
  185. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/magnon/plot_magnon_dos_cli.py +0 -0
  186. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/magnon/structure.py +0 -0
  187. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/mathutils/__init__.py +0 -0
  188. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/mathutils/auto_kpath.py +0 -0
  189. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/mathutils/fermi.py +0 -0
  190. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/mathutils/fibonacci_sphere.py +0 -0
  191. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/mathutils/kR_convert.py +0 -0
  192. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/mathutils/lowdin.py +0 -0
  193. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/mathutils/rotate_spin.py +0 -0
  194. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/myTB.py +0 -0
  195. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/mycfr.py +0 -0
  196. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/orbital_magmom.py +0 -0
  197. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/orbmap.py +0 -0
  198. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/pauli.py +0 -0
  199. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/pert.py +0 -0
  200. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/plot.py +0 -0
  201. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/rotate_atoms.py +0 -0
  202. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/rotate_siestaDM.py +0 -0
  203. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/TB2J_downfold.py +0 -0
  204. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/TB2J_magnon.py +0 -0
  205. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/TB2J_magnon2.py +0 -0
  206. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/TB2J_magnon_dos.py +0 -0
  207. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/TB2J_plot_magnon_bands.py +0 -0
  208. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/TB2J_rotate.py +0 -0
  209. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/TB2J_rotateDM.py +0 -0
  210. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/__init__.py +0 -0
  211. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/abacus2J.py +0 -0
  212. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/siesta2J.py +0 -0
  213. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/scripts/wann2J.py +0 -0
  214. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/sisl_wrapper.py +0 -0
  215. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/spinham/__init__.py +0 -0
  216. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/spinham/base_parser.py +0 -0
  217. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/spinham/constants.py +0 -0
  218. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/spinham/hamiltonian.py +0 -0
  219. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/spinham/hamiltonian_terms.py +0 -0
  220. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/spinham/plot.py +0 -0
  221. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/spinham/qsolver.py +0 -0
  222. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/spinham/spin_api.py +0 -0
  223. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/spinham/spin_xml.py +0 -0
  224. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/spinham/supercell.py +0 -0
  225. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/symmetrize_J.py +0 -0
  226. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/tensor_rotate.py +0 -0
  227. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/thetaphi.py +0 -0
  228. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/utest.py +0 -0
  229. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/utils.py +0 -0
  230. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/wannier/__init__.py +0 -0
  231. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/wannier/w90_parser.py +0 -0
  232. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J/wannier/w90_tb_parser.py +0 -0
  233. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J.egg-info/dependency_links.txt +0 -0
  234. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J.egg-info/requires.txt +0 -0
  235. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/TB2J.egg-info/top_level.txt +0 -0
  236. {tb2j-0.9.12.3 → tb2j-0.9.12.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TB2J
3
- Version: 0.9.12.3
3
+ Version: 0.9.12.6
4
4
  Summary: TB2J: First principle to Heisenberg exchange J using tight-binding Green function method
5
5
  Author-email: Xu He <mailhexu@gmail.com>
6
6
  Maintainer-email: Xu He <mailhexu@gmail.com>
@@ -0,0 +1 @@
1
+
@@ -45,4 +45,5 @@ def write_eigen_info():
45
45
  write_eigen(args.qmesh, args.gamma, output_fname=args.output_fname)
46
46
 
47
47
 
48
- write_eigen_info()
48
+ if __name__ == "__main__":
49
+ write_eigen_info()
@@ -2,7 +2,7 @@
2
2
  import argparse
3
3
 
4
4
  from TB2J.io_merge import merge
5
- from TB2J.version_info import print_license
5
+ from TB2J.versioninfo import print_license
6
6
 
7
7
 
8
8
  def main():
@@ -1,7 +1,10 @@
1
+ import importlib.metadata
1
2
  from datetime import datetime
2
3
 
3
4
  import TB2J
4
5
 
6
+ __version__ = importlib.metadata.version("TB2J")
7
+
5
8
 
6
9
  def print_license():
7
10
  print(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TB2J
3
- Version: 0.9.12.3
3
+ Version: 0.9.12.6
4
4
  Summary: TB2J: First principle to Heisenberg exchange J using tight-binding Green function method
5
5
  Author-email: Xu He <mailhexu@gmail.com>
6
6
  Maintainer-email: Xu He <mailhexu@gmail.com>
@@ -0,0 +1,116 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ TB2J/Jdownfolder.py
5
+ TB2J/Jtensor.py
6
+ TB2J/MAE.py
7
+ TB2J/MAEGreen.py
8
+ TB2J/Oiju.py
9
+ TB2J/Oiju_epc.py
10
+ TB2J/__init__.py
11
+ TB2J/anisotropy.py
12
+ TB2J/basis.py
13
+ TB2J/citation.py
14
+ TB2J/contour.py
15
+ TB2J/density_matrix.py
16
+ TB2J/epc.py
17
+ TB2J/exchange.py
18
+ TB2J/exchangeCL2.py
19
+ TB2J/exchange_params.py
20
+ TB2J/exchange_pert.py
21
+ TB2J/exchange_qspace.py
22
+ TB2J/gpaw_wrapper.py
23
+ TB2J/green.py
24
+ TB2J/greentest.py
25
+ TB2J/io_merge.py
26
+ TB2J/kpoints.py
27
+ TB2J/myTB.py
28
+ TB2J/mycfr.py
29
+ TB2J/orbital_magmom.py
30
+ TB2J/orbmap.py
31
+ TB2J/pauli.py
32
+ TB2J/pert.py
33
+ TB2J/plot.py
34
+ TB2J/rotate_atoms.py
35
+ TB2J/rotate_siestaDM.py
36
+ TB2J/sisl_wrapper.py
37
+ TB2J/symmetrize_J.py
38
+ TB2J/tensor_rotate.py
39
+ TB2J/thetaphi.py
40
+ TB2J/utest.py
41
+ TB2J/utils.py
42
+ TB2J/versioninfo.py
43
+ TB2J.egg-info/PKG-INFO
44
+ TB2J.egg-info/SOURCES.txt
45
+ TB2J.egg-info/dependency_links.txt
46
+ TB2J.egg-info/entry_points.txt
47
+ TB2J.egg-info/requires.txt
48
+ TB2J.egg-info/top_level.txt
49
+ TB2J/downfold/Hdownfolder.py
50
+ TB2J/external/__init__.py
51
+ TB2J/external/p_tqdm.py
52
+ TB2J/interfaces/__init__.py
53
+ TB2J/interfaces/gpaw_interface.py
54
+ TB2J/interfaces/lawaf_interface.py
55
+ TB2J/interfaces/manager.py
56
+ TB2J/interfaces/siesta_interface.py
57
+ TB2J/interfaces/wannier90_interface.py
58
+ TB2J/interfaces/abacus/__init__.py
59
+ TB2J/interfaces/abacus/abacus_api.py
60
+ TB2J/interfaces/abacus/abacus_wrapper.py
61
+ TB2J/interfaces/abacus/gen_exchange_abacus.py
62
+ TB2J/interfaces/abacus/orbital_api.py
63
+ TB2J/interfaces/abacus/stru_api.py
64
+ TB2J/interfaces/abacus/test_density_matrix.py
65
+ TB2J/interfaces/abacus/test_read_HRSR.py
66
+ TB2J/interfaces/abacus/test_read_stru.py
67
+ TB2J/io_exchange/__init__.py
68
+ TB2J/io_exchange/io_exchange.py
69
+ TB2J/io_exchange/io_multibinit.py
70
+ TB2J/io_exchange/io_tomsasd.py
71
+ TB2J/io_exchange/io_txt.py
72
+ TB2J/io_exchange/io_uppasd.py
73
+ TB2J/io_exchange/io_vampire.py
74
+ TB2J/magnon/__init__.py
75
+ TB2J/magnon/io_exchange2.py
76
+ TB2J/magnon/magnon3.py
77
+ TB2J/magnon/magnon_band.py
78
+ TB2J/magnon/magnon_dos.py
79
+ TB2J/magnon/magnon_io.py
80
+ TB2J/magnon/magnon_math.py
81
+ TB2J/magnon/plot.py
82
+ TB2J/magnon/plot_magnon_dos_cli.py
83
+ TB2J/magnon/structure.py
84
+ TB2J/mathutils/__init__.py
85
+ TB2J/mathutils/auto_kpath.py
86
+ TB2J/mathutils/fermi.py
87
+ TB2J/mathutils/fibonacci_sphere.py
88
+ TB2J/mathutils/kR_convert.py
89
+ TB2J/mathutils/lowdin.py
90
+ TB2J/mathutils/rotate_spin.py
91
+ TB2J/scripts/TB2J_downfold.py
92
+ TB2J/scripts/TB2J_eigen.py
93
+ TB2J/scripts/TB2J_magnon.py
94
+ TB2J/scripts/TB2J_magnon2.py
95
+ TB2J/scripts/TB2J_magnon_dos.py
96
+ TB2J/scripts/TB2J_merge.py
97
+ TB2J/scripts/TB2J_plot_magnon_bands.py
98
+ TB2J/scripts/TB2J_rotate.py
99
+ TB2J/scripts/TB2J_rotateDM.py
100
+ TB2J/scripts/__init__.py
101
+ TB2J/scripts/abacus2J.py
102
+ TB2J/scripts/siesta2J.py
103
+ TB2J/scripts/wann2J.py
104
+ TB2J/spinham/__init__.py
105
+ TB2J/spinham/base_parser.py
106
+ TB2J/spinham/constants.py
107
+ TB2J/spinham/hamiltonian.py
108
+ TB2J/spinham/hamiltonian_terms.py
109
+ TB2J/spinham/plot.py
110
+ TB2J/spinham/qsolver.py
111
+ TB2J/spinham/spin_api.py
112
+ TB2J/spinham/spin_xml.py
113
+ TB2J/spinham/supercell.py
114
+ TB2J/wannier/__init__.py
115
+ TB2J/wannier/w90_parser.py
116
+ TB2J/wannier/w90_tb_parser.py
@@ -1,9 +1,8 @@
1
1
  [console_scripts]
2
2
  TB2J_downfold.py = TB2J.scripts.TB2J_downfold:main
3
- TB2J_eigen.py = TB2J.scripts.TB2J_eigen:main
4
- TB2J_magnon.py = TB2J.scripts.TB2J_magnon:main
5
- TB2J_magnon2.py = TB2J.scripts.TB2J_magnon2:main
6
- TB2J_magnon_dos.py = TB2J.scripts.TB2J_magnon_dos:main
3
+ TB2J_eigen.py = TB2J.scripts.TB2J_eigen:write_eigen_info
4
+ TB2J_magnon.py = TB2J.scripts.TB2J_magnon:plot_magnon
5
+ TB2J_magnon_dos.py = TB2J.plot:command_line_plot_magnon_dos
7
6
  TB2J_merge.py = TB2J.scripts.TB2J_merge:main
8
7
  TB2J_plot_magnon_bands.py = TB2J.magnon.magnon3:plot_magnon_bands_cli
9
8
  TB2J_plot_magnon_dos.py = TB2J.magnon.plot_magnon_dos_cli:main
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "TB2J"
7
- version = "0.9.12.3"
7
+ version = "0.9.12.6"
8
8
  description = "TB2J: First principle to Heisenberg exchange J using tight-binding Green function method"
9
9
  readme = "README.md"
10
10
  license = { text = "BSD-2-Clause" }
@@ -60,15 +60,14 @@ Issues = "https://github.com/mailhexu/TB2J/issues"
60
60
  "TB2J_rotate.py" = "TB2J.scripts.TB2J_rotate:main"
61
61
  "TB2J_rotateDM.py" = "TB2J.scripts.TB2J_rotateDM:main"
62
62
  "TB2J_merge.py" = "TB2J.scripts.TB2J_merge:main"
63
- "TB2J_magnon.py" = "TB2J.scripts.TB2J_magnon:main"
64
- "TB2J_magnon2.py" = "TB2J.scripts.TB2J_magnon2:main"
65
- "TB2J_magnon_dos.py" = "TB2J.scripts.TB2J_magnon_dos:main"
63
+ "TB2J_magnon.py" = "TB2J.scripts.TB2J_magnon:plot_magnon"
64
+ "TB2J_magnon_dos.py" = "TB2J.plot:command_line_plot_magnon_dos"
66
65
  "TB2J_downfold.py" = "TB2J.scripts.TB2J_downfold:main"
67
- "TB2J_eigen.py" = "TB2J.scripts.TB2J_eigen:main"
68
- "TB2J_symmetrize.py" = "TB2J.symmetrize_J:symmetrize_J_cli"
69
- "lawaf2J.py" = "TB2J.interfaces.lawaf_interface:lawaf2J_cli"
66
+ "TB2J_eigen.py" = "TB2J.scripts.TB2J_eigen:write_eigen_info"
70
67
  "TB2J_plot_magnon_bands.py" = "TB2J.magnon.magnon3:plot_magnon_bands_cli"
71
68
  "TB2J_plot_magnon_dos.py" = "TB2J.magnon.plot_magnon_dos_cli:main"
69
+ "TB2J_symmetrize.py" = "TB2J.symmetrize_J:symmetrize_J_cli"
70
+ "lawaf2J.py" = "TB2J.interfaces.lawaf_interface:lawaf2J_cli"
72
71
 
73
72
  [tool.setuptools]
74
73
  packages = ["TB2J"]
@@ -1,23 +0,0 @@
1
- name: Pylint
2
-
3
- on: [push]
4
-
5
- jobs:
6
- build:
7
- runs-on: ubuntu-latest
8
- strategy:
9
- matrix:
10
- python-version: ["3.8", "3.9", "3.10"]
11
- steps:
12
- - uses: actions/checkout@v3
13
- - name: Set up Python ${{ matrix.python-version }}
14
- uses: actions/setup-python@v3
15
- with:
16
- python-version: ${{ matrix.python-version }}
17
- - name: Install dependencies
18
- run: |
19
- python -m pip install --upgrade pip
20
- pip install pylint
21
- - name: Analysing the code with pylint
22
- run: |
23
- pylint $(git ls-files '*.py')
@@ -1,44 +0,0 @@
1
- # This workflow will install Python dependencies, run tests and lint with a single version of Python
2
- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3
-
4
- name: Python application
5
-
6
- on:
7
- push:
8
- branches: [ "master" ]
9
- pull_request:
10
- branches: [ "master" ]
11
-
12
- permissions:
13
- contents: read
14
-
15
- jobs:
16
- build:
17
- runs-on: ubuntu-latest
18
- steps:
19
- - uses: actions/checkout@v4
20
- - name: Set up Python 3.10
21
- uses: actions/setup-python@v5
22
- with:
23
- python-version: "3.10"
24
- - name: Install dependencies
25
- run: |
26
- python -m pip install --upgrade pip
27
- pip install flake8 pytest
28
- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29
- - name: Lint with flake8
30
- run: |
31
- # stop the build if there are Python syntax errors or undefined names
32
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
33
- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
34
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
35
- - name: Test with pytest
36
- run: |
37
- #pytest
38
- # - pwd
39
- python -m pip install .
40
- cd examples/abinit-w90/SrMnO3
41
- ls -lah
42
- sh get_J.sh
43
- cd TB2J_results/Multibinit
44
- TB2J_magnon.py --figfname magnon.png
tb2j-0.9.12.3/.gitignore DELETED
@@ -1,131 +0,0 @@
1
- doc/refs/*.pdf
2
-
3
-
4
- *.swp
5
-
6
- # Latex
7
- *.aux
8
-
9
- # xyz files
10
-
11
- .DS_Store
12
-
13
- # Byte-compiled / optimized / DLL files
14
- __pycache__/
15
- *.py[cod]
16
- *$py.class
17
-
18
- # numpy results
19
- *.npy
20
-
21
- # png files
22
-
23
- # C extensions
24
- *.so
25
- *.a
26
-
27
- # Fortran extensions
28
- *.fpp
29
- *.mod
30
- *.o
31
-
32
- # F90wrap files
33
- *.plist
34
-
35
- # Distribution / packaging
36
- .Python
37
- env/
38
- build/
39
- develop-eggs/
40
- dist/
41
- downloads/
42
- eggs/
43
- .eggs/
44
- lib/
45
- lib64/
46
- parts/
47
- sdist/
48
- var/
49
- wheels/
50
- *.egg-info/
51
- *.egg-info/*
52
- .installed.cfg
53
- *.egg
54
-
55
- # temporary files
56
- temp/
57
-
58
- # PyInstaller
59
- # Usually these files are written by a python script from a template
60
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
61
- *.manifest
62
- *.spec
63
-
64
- # Installer logs
65
- pip-log.txt
66
- pip-delete-this-directory.txt
67
-
68
- # Unit test / coverage reports
69
- htmlcov/
70
- .tox/
71
- .coverage
72
- .coverage.*
73
- .cache
74
- nosetests.xml
75
- coverage.xml
76
- *.cover
77
- .hypothesis/
78
-
79
- # Translations
80
- *.mo
81
- *.pot
82
-
83
- # Django stuff:
84
- *.log
85
- local_settings.py
86
-
87
- # Flask stuff:
88
- instance/
89
- .webassets-cache
90
-
91
- # Scrapy stuff:
92
- .scrapy
93
-
94
- # Sphinx documentation
95
- docs/_build/
96
-
97
- # PyBuilder
98
- target/
99
-
100
- # Jupyter Notebook
101
- .ipynb_checkpoints
102
-
103
- # pyenv
104
- .python-version
105
-
106
- # celery beat schedule file
107
- celerybeat-schedule
108
-
109
- # SageMath parsed files
110
- *.sage.py
111
-
112
- # dotenv
113
- .env
114
-
115
- # virtualenv
116
- .venv
117
- venv/
118
- ENV/
119
-
120
- # Spyder project settings
121
- .spyderproject
122
- .spyproject
123
-
124
- # Rope project settings
125
- .ropeproject
126
-
127
- # mkdocs documentation
128
- /site
129
-
130
- # mypy
131
- .mypy_cache/
@@ -1,11 +0,0 @@
1
- repos:
2
- - repo: https://github.com/astral-sh/ruff-pre-commit
3
- # Ruff version.
4
- rev: v0.3.5
5
- hooks:
6
- # Run the linter.
7
- - id: ruff
8
- # --select I sorts imports
9
- args: [ --fix, --extend-select, I ]
10
- # Run the formatter.
11
- - id: ruff-format
@@ -1,28 +0,0 @@
1
- # .readthedocs.yml
2
- # Read the Docs configuration file
3
- # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
-
5
- # Required
6
- version: 2
7
- build:
8
- os: "ubuntu-22.04"
9
- tools:
10
- python: "3.11"
11
-
12
- # Build documentation in the docs/ directory with Sphinx
13
- sphinx:
14
- configuration: docs/conf.py
15
-
16
- # Build documentation with MkDocs
17
- #mkdocs:
18
- # configuration: mkdocs.yml
19
-
20
- # Optionally build your docs in additional formats such as PDF
21
- formats:
22
- - pdf
23
-
24
- # Optionally set the version of Python and requirements required to build your docs
25
- python:
26
- install:
27
- - requirements: requirements.txt
28
- - requirements: docs/requirements.txt
tb2j-0.9.12.3/.ruff.toml DELETED
@@ -1,78 +0,0 @@
1
- # Exclude a variety of commonly ignored directories.
2
- exclude = [
3
- ".bzr",
4
- ".direnv",
5
- ".eggs",
6
- ".git",
7
- ".git-rewrite",
8
- ".hg",
9
- ".ipynb_checkpoints",
10
- ".mypy_cache",
11
- ".nox",
12
- ".pants.d",
13
- ".pyenv",
14
- ".pytest_cache",
15
- ".pytype",
16
- ".ruff_cache",
17
- ".svn",
18
- ".tox",
19
- ".venv",
20
- ".vscode",
21
- "__pypackages__",
22
- "_build",
23
- "buck-out",
24
- "build",
25
- "dist",
26
- "node_modules",
27
- "site-packages",
28
- "venv",
29
- ]
30
-
31
- # Same as Black.
32
- line-length = 88
33
- indent-width = 4
34
-
35
- # Assume Python 3.8
36
- target-version = "py38"
37
-
38
- [lint]
39
- # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
40
- # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
41
- # McCabe complexity (`C901`) by default.
42
- select = ["E4", "E7", "E9", "F"]
43
- ignore = ["E741"]
44
-
45
- # Allow fix for all enabled rules (when `--fix`) is provided.
46
- fixable = ["ALL"]
47
- unfixable = []
48
-
49
- # Allow unused variables when underscore-prefixed.
50
- dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
51
-
52
- [format]
53
- # Like Black, use double quotes for strings.
54
- quote-style = "double"
55
-
56
- # Like Black, indent with spaces, rather than tabs.
57
- indent-style = "space"
58
-
59
- # Like Black, respect magic trailing commas.
60
- skip-magic-trailing-comma = false
61
-
62
- # Like Black, automatically detect the appropriate line ending.
63
- line-ending = "auto"
64
-
65
- # Enable auto-formatting of code examples in docstrings. Markdown,
66
- # reStructuredText code/literal blocks and doctests are all supported.
67
- #
68
- # This is currently disabled by default, but it is planned for this
69
- # to be opt-out in the future.
70
- docstring-code-format = false
71
-
72
- # Set the line length limit used when formatting code snippets in
73
- # docstrings.
74
- #
75
- # This only has an effect when the `docstring-code-format` setting is
76
- # enabled.
77
- docstring-code-line-length = "dynamic"
78
-
tb2j-0.9.12.3/.travis.yml DELETED
@@ -1,33 +0,0 @@
1
- language: python
2
- python:
3
- - "3.7"
4
- - "3.8"
5
- - "3.9"
6
- - "3.10"
7
- - "3.11"
8
- cache: pip
9
-
10
- addons:
11
- apt:
12
- packages: &common_packages
13
- - gfortran
14
- - libatlas-base-dev
15
- - liblapack-dev
16
- - libnetcdf-dev
17
- - libnetcdff-dev
18
- - eatmydata
19
- - ccache
20
- before_install:
21
- - if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then pip install -U importlib_metadata; fi
22
-
23
- install:
24
- - pip install -r requirements.txt
25
- - pip install sisl
26
- - pip install -e .
27
- script:
28
- - pwd
29
- - cd examples/abinit-w90/SrMnO3
30
- - ls -lah
31
- - sh get_J.sh
32
- - cd TB2J_results/Multibinit
33
- - TB2J_magnon.py --figfname magnon.png
@@ -1,5 +0,0 @@
1
- *.o
2
- *.x
3
- *.mod
4
- exchanges.sublime-project
5
- exchanges.sublime-workspace
@@ -1 +0,0 @@
1
- __version__ = "0.9.10.3"
@@ -1,2 +0,0 @@
1
- TB2J_results/
2
- *.png