Compute and analyse point-defect equilibria.
Project description
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. An intuitive user interface can be run online with no installation at this link: https://defermi.streamlit.app/ (using streamlit).
Explore quickly the functionalities with this pre-loaded example.
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
UI
defermi comes with a simple and intutitive graphical user interface. It can be run online without installation on this link:
https://defermi.streamlit.app/
or locally after installation by running this command:
defermi gui
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
VASPcalculations usingpymatgen. - Automatic import from
VASPcalculations : Import dataset directly from yourVASPcalculation directory. Support forgpawandase.dbwill soon be included.
Overview
- Intuitive : No endless reading of the documentation, all main functionalities are wrapped around the
DefectsAnalysisclass. - 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 aDataFrameor acsvfile. - 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file defermi-1.3.3.tar.gz.
File metadata
- Download URL: defermi-1.3.3.tar.gz
- Upload date:
- Size: 85.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73286bcb9bc6c7e94b416d7f7bc9f63423f626abc79a99ef0e3a58c4266d01c0
|
|
| MD5 |
0eb780863412ae1260135f57712cf56c
|
|
| BLAKE2b-256 |
0212f778f406948f81cdfc865a8078f2227e2dd63cc59ba5b1bd5f7a3d99cc44
|
File details
Details for the file defermi-1.3.3-py3-none-any.whl.
File metadata
- Download URL: defermi-1.3.3-py3-none-any.whl
- Upload date:
- Size: 98.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf7e4cd437b13a27070d355ed82d5de04dd643666690cd8f033f688216cf35dd
|
|
| MD5 |
65f532f93b6d07276bf4817037b95de4
|
|
| BLAKE2b-256 |
77a58b949039a2689feddea814f573f2e21e7fd1f88ab092b1e878cf501267c8
|