Skip to main content

Python application Documentation Status Build Status Downloads

Description

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.

The TB2J project is initialized in the PhyTheMa and Nanomat teams in the University of Liege.

The features include:

  • Calculates parameters in Heisenberg model, including isotropic exchange, anisotropic exchange, Dyzanoshinskii-Moriya interaction.
  • Can use the input from many DFT codes with Wannier90, e.g. Abinit, Quantum Espresso, Siesta, VASP, etc.
  • Can use input from DFT codes with numerical orbitals from Siesta, OpenMX and ABACUS.
  • Supports DMFT exchange calculations using self-energies from DMFT solvers (e.g., w2dynamics).
  • Calculate magnon band structure from the Heisenberg Hamiltonian.
  • Generate input for spin dynamics/Monte Carlo codes MULTIBINIT.
  • Require only ground state DFT calculation.
  • No need for supercells.
  • Calculate magnetic interaction up to large distance.
  • Minimal user input, which allows for a black-box like experience and automatic workflows.
  • Versatile API on both the input (DFT Hamiltonian) and the output (Heisenberg model) sides.

For more information, see the documentation on https://tb2j.readthedocs.io/en/latest/

Dependencies

  • python (tested for ver 3.6)
  • numpy
  • scipy
  • ASE (atomic simulation environment)
  • matplotlib (optional) if you want to plot magnon band structure directly.
  • sisl (optional) for Siesta interface

Installation

pip install TB2J

Message:

  • We welcome contributions. If you would like to add the interface to other codes, or extend the capability of TB2J, please contact us! <mailhexu_AT_gmail_DOT_com>

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tb2j-0.9.19.tar.gz (489.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tb2j-0.9.19-py3-none-any.whl (321.8 kB view details)

Uploaded Python 3

File details

Details for the file tb2j-0.9.19.tar.gz.

File metadata

  • Download URL: tb2j-0.9.19.tar.gz
  • Upload date:
  • Size: 489.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for tb2j-0.9.19.tar.gz
Algorithm Hash digest
SHA256 24c5d7a6fb74cbd82e22606412d7bfd557ecbafbf0243f46edfe23659cb48b73
MD5 fdc672aefa9a9e717d8fa7c37ab7f5a3
BLAKE2b-256 6eeb13ee339e1801b78c9d9c7724326b7bdfd8eab6d971495bef15e4d36641f5

See more details on using hashes here.

File details

Details for the file tb2j-0.9.19-py3-none-any.whl.

File metadata

  • Download URL: tb2j-0.9.19-py3-none-any.whl
  • Upload date:
  • Size: 321.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for tb2j-0.9.19-py3-none-any.whl
Algorithm Hash digest
SHA256 871c6764353a499278601e253ca83886b8005199a77542b2616dd30ed400b0cb
MD5 44a536b43da27d23cb03cedd9e965f05
BLAKE2b-256 c290ecb4ad04549c965399eb69dac0cad4e6e9b94b1243c345a04ba1f1a86ce9

See more details on using hashes here.

Release history Release notifications | RSS feed

0.9.20

2 files

This release

0.9.19 This release

2 files

0.9.18

2 files

0.9.17

2 files

0.9.16

2 files

0.9.15

2 files

0.9.12.26

2 files

0.9.12.25

2 files

0.9.12.24

2 files

0.9.12.23

2 files

0.9.12.22

2 files

0.9.12.20

2 files

0.9.12.18

2 files

0.9.12.17

2 files

0.9.12.16

2 files

0.9.12.15

2 files

0.9.12.13

2 files

0.9.12.10

2 files

0.9.12.9

2 files

0.9.12.8

2 files

0.9.12.7

2 files

0.9.12.6

2 files

0.9.12.5

2 files

0.9.12.3

2 files

0.9.11.3

2 files

0.9.11.2

2 files

0.9.11.1

2 files

0.9.10.4

2 files

0.9.10.3

2 files

0.9.10.2

2 files

0.9.10.1

2 files

0.9.9.16

2 files

0.9.9.15

2 files

0.9.9.14

2 files

0.9.9.13

2 files

0.9.9.12

2 files

0.9.9.10

2 files

0.9.9.9

2 files

0.9.9.8

2 files

0.9.9.7

2 files

0.9.9.6

2 files

0.9.9.4

2 files

0.9.9.3

2 files

0.9.9.2

2 files

0.9.9.1

2 files

0.9.0.5

2 files

0.9.0.4

2 files

0.9.0.3

2 files

0.9.0.2

2 files

0.9.0.1

2 files

0.9.0

2 files

0.8.2.8

2 files

0.8.2.7

2 files

0.8.2.5

2 files

0.8.2.4

2 files

0.8.2.3

2 files

0.8.2.2

2 files

0.8.2.1

2 files

0.8.1

2 files

0.8.0

2 files

0.7.7.2

2 files

0.7.7.1

2 files

0.7.7

2 files

0.7.6.2

2 files

0.7.6.1

2 files

0.7.6

2 files

0.7.5

2 files

0.7.4.5

2 files

0.7.4.4

2 files

0.7.4.3

2 files

0.7.4.2

2 files

0.7.4.1

2 files

0.7.4

2 files

0.7.3.2

2 files

0.7.2.3

2 files

0.7.2.2

2 files

0.7.2.1

2 files

0.7.1.1

2 files

0.7.1

2 files

0.6.10.2

2 files

0.6.10.1

2 files

0.6.10

2 files

0.6.8

2 files

0.6.7

2 files

0.6.6

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.1

2 files

0.6.0

2 files

0.4.4.1

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1.1

2 files

0.4.1

2 files

0.3.8

2 files

0.3.7

2 files

0.3.5

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.8

2 files

0.2.6

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page