Skip to main content

TB2J: First principle to Heisenberg exchange J using tight-binding Green function method

Project description

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>

Project details


Release history Release notifications | RSS feed

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.14.0a2.tar.gz (471.5 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.14.0a2-py3-none-any.whl (306.2 kB view details)

Uploaded Python 3

File details

Details for the file tb2j-0.9.14.0a2.tar.gz.

File metadata

  • Download URL: tb2j-0.9.14.0a2.tar.gz
  • Upload date:
  • Size: 471.5 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.14.0a2.tar.gz
Algorithm Hash digest
SHA256 8c700be06e750f74083d0c15c7b533ff5cbfe39d07fc8a1e8b3afba90f46b010
MD5 7f516d1d4cd3cc989dddbbb15990a57c
BLAKE2b-256 e82de6e2774de133feabab31738646f7289351f5e96d803af961bd25202d1048

See more details on using hashes here.

File details

Details for the file tb2j-0.9.14.0a2-py3-none-any.whl.

File metadata

  • Download URL: tb2j-0.9.14.0a2-py3-none-any.whl
  • Upload date:
  • Size: 306.2 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.14.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 761e175704c40d17c7e39ffd22f28e3e312c731999e1a0568953ccc9cc438a06
MD5 7f359c0f201a2dd6e8b59c9b49cdaaf7
BLAKE2b-256 4ba8d320a14600ca07aa9435606db0d266149cdc6aaa77e57ff84e0c479d2b8a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page