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>

Metadata

Release files for TB2J 0.9.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TB2J 0.9.21
File Size Uploaded
tb2j-0.9.21.tar.gz 547.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for TB2J 0.9.21
File Interpreter ABI Platform
tb2j-0.9.21-py3-none-any.whl Python 3 none any Details

Total release size: 937.2 kB

Release files / tb2j-0.9.21.tar.gz

Download URL tb2j-0.9.21.tar.gz
Size 547.5 kB
Tags Source
SHA-256 checksum
How to use checksums
760fbf2da7434f0b5ddba7149c00b635a937f66581052e3da8ef14891d4f52c7
BLAKE2b-256 checksum
How to use checksums
ae2dbf1e303970675552e726c1183b55bed3c48b573159ebe94d3ff4709db026
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / tb2j-0.9.21-py3-none-any.whl

Download URL tb2j-0.9.21-py3-none-any.whl
Size 389.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6549a778253a9778c8f9b9f6f05dbe7dfed740572039a6542425cd12f9be4664
BLAKE2b-256 checksum
How to use checksums
e01a90178bf9ee5dd209a9ce91dd2a750d9ecd96ea4d09ab5a68b0360da310a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release history Release notifications | RSS feed

0.9.22

2 release files

This release

0.9.21 This release

2 release files

0.9.20

2 release files

0.9.19

2 release files

0.9.17

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.1

2 release files

0.6.10

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.5

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.8

2 release files

0.2.6

2 release 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