Skip to main content

Compute and analyse point-defect equilibria.

Project description

defermi

Python library for the analysis and visualization of point defects. Simple and intuitive for new users and non-experts, flexible and customizable for power users. Based on main objects from the pymatgen library.
Explore quickly the functionalities with the dedicated web app.

Installation

If you are using conda or mamba, creating a new environment is recommended:

mamba create env -n defermi python
mamba activate defermi

The package can be installed with PyPI:

pip install defermi

Features

  • Formation energies: Easily calculate and plot formation energies of point defects.
  • Charge transition levels : Compute and visualize defect thermodynamic transition levels.
  • Chemical potentials : Generate, analyse and visualize datasets of chemical potentials. Automated workflow for datasets generations based on oxygen partial pressures.
  • Defect complexes : Support for defect complexes is included.
  • Equilibrium Fermi level : Compute the Fermi level dictated by charge neutrality self-consistently.
  • Brouwer and doping diagrams : Automatic generation of Brouwer diagrams and doping diagrams.
  • Temperature-dependent formation energies and defect concentrations : System-specific temperature-dependence of formation energies and defect concentartions can be included and customized.
  • Extended frozen defects approach : Calculate Fermi level under non-equilibrium conditions. Fix defect concentrations to a target value while allowing the charge to equilibrate. This approach is extremely useful for the simulation of quenched conditions, when the defect distribution is determined at high temperature and frozen in at low temperature, or when extrinsic defects are present and the charge state depends on the Fermi level. This approach has been extended to different defects containing the same element and to defect complexes. Many options regarding the fixing conditions are available, including partial quenching and elemental concentrations.
  • Finite-size corrections: Compute charge corrections (FNV and eFNV schemes). At the moment available for VASP calculations using pymatgen.
  • Automatic import from VASP calculations : Import dataset directly from your VASP calculation directory. Support forgpaw and ase.db will soon be included.

Overview

  • Intuitive : No endless reading of the documentation, all main functionalities are wrapped around the DefectsAnalysis class.
  • Easy interface : Interfaces with simple Python objects (list,dict,DataFrame), no unnecessary dependencies on specific objects. Fast learning curve: getting started is as simple as loading a DataFrame or a csv file.
  • Flexible : Power users can customize the workflow and are not limited by the default behaviour. All individual routines are easily accessible manually to improve control.
  • Customizable : Users can assign their own customized functions for defect formation energies and concentrations. Not only temperature and volume dependences can be easily included, but also system-specific behaviours can be integrated without the need for workarounds.

Project details


Download files

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

Source Distribution

defermi-1.0.9.tar.gz (118.8 kB view details)

Uploaded Source

Built Distribution

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

defermi-1.0.9-py3-none-any.whl (134.9 kB view details)

Uploaded Python 3

File details

Details for the file defermi-1.0.9.tar.gz.

File metadata

  • Download URL: defermi-1.0.9.tar.gz
  • Upload date:
  • Size: 118.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for defermi-1.0.9.tar.gz
Algorithm Hash digest
SHA256 8f3c01899a5c5df91c7be65a09f9ed6cd1f27e47c60a5ed69c8d28b1f73131be
MD5 3f7ccf2c760c3f32f79bf798ff20c20b
BLAKE2b-256 2209db0ac7766b7555b8a8ac24f806d04ce1e583648efda3af3b96f50b91c96b

See more details on using hashes here.

File details

Details for the file defermi-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: defermi-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 134.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for defermi-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 84013b9fc49a1c6cff447f7b1583d74f057051a0600ca30823601a642aae2816
MD5 10080790d4d4db9062c54e906c270fb8
BLAKE2b-256 e74b697066d9b1811d607f87f3c394132e6a092a9f397bdb8dd44abe53c66b67

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