Self-consistent Fermi Analysis
Project description
py-sc-fermi
py-sc-fermi
is a materials modelling code for calculating self-consistent Fermi energies and defect concentrations under thermodynamic equilibrium (or quasi-equilibrium) in the dilute limit given pre-calculated defect formation energies. For the theory, see this paper.
The necessary inputs are (charged) defect formation energies, an (electronic) density of states, and the volume of the unit cell. Having this data, a DefectSystem
object can be inititalised, from which the self consistent Fermi energy, defect concentrations, defect transition levels and electron and hole concentrations can be calculated.
Documentation and usage guides can be found here.
Installation
py-sc-fermi can be installed with pip:
pip install py-sc-fermi
Alternatively, the latest development build can be installed by cloning this repository and installing with pip:
git clone https://github.com/bjmorgan/py-sc-fermi.git
cd py-sc-fermi
pip install .
Contributing
Bugs reports and feature requests
If you think you've found a bug, please report it on the issue tracker.
This is also the place to propose ideas for new features or ask
questions about the design of py-sc-fermi
.
Poor documentation is considered a bug, but please be as specific as
possible when asking for improvements.
Code contributions
We welcome help in improving the package with your external contributions. This is managed through Github pull requests; for external contributions fork and pull is preferred:
- First open an Issue to discuss the proposed contribution. This
discussion might include how the changes fit
py-sc-fermi
scope and a general technical approach. - Make your own project fork and implement the changes there.
- Open a pull request to merge the changes into the main project. A more detailed discussion can take place there before the changes are accepted.
Citing
If you use py-sc-fermi
in your work, please consider citing the following:
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
Built Distribution
File details
Details for the file py-sc-fermi-2.0.0.tar.gz
.
File metadata
- Download URL: py-sc-fermi-2.0.0.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c61e359c12cabb77957e891df8a14d6bd4a27aed26b1a39ae9c14d8a8cd06171 |
|
MD5 | 0da183797a4b5d1bf0256e9c8fb72835 |
|
BLAKE2b-256 | eb37ef1d8ca1ca357ef141efafd18db34659cc571a9c4ae7a0d5dc4aac6ca351 |
File details
Details for the file py_sc_fermi-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: py_sc_fermi-2.0.0-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ec866340951294004e39bb75840268491c720e1dc5f4974e6cb5a09dbf2598 |
|
MD5 | 6227fd8eef7f103c0f61e31c03abd92f |
|
BLAKE2b-256 | 27eeb511afcb16601bd8c40b1dae16ccc06769ee2bafb56798f3164b01a39055 |