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 -e .
To build the documentation locally, install with the docs extra:
pip install -e ".[docs]"
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-fermiscope 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:
Metadata
Release files for py-sc-fermi 2.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_sc_fermi-2.2.2.tar.gz | 2.1 MB | Without provenance | Details for py_sc_fermi-2.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_sc_fermi-2.2.2-py3-none-any.whl | Python 3 | none | any | Details for py_sc_fermi-2.2.2-py3-none-any.whl |
Total release size: 2.1 MB
Release files / py_sc_fermi-2.2.2.tar.gz
| Download URL | py_sc_fermi-2.2.2.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
667532bbd296bd810c94768d11b0796a3551f2e2842e6ce2ee476c903f82399b
|
|
BLAKE2b-256 checksum How to use checksums |
e381f894f22e9b18340611c9c4310d0c8c8603d698378cb68cf43daca1a128c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / py_sc_fermi-2.2.2-py3-none-any.whl
| Download URL | py_sc_fermi-2.2.2-py3-none-any.whl |
|---|---|
| Size | 23.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56a68ae09f3633759aa6da24edeb22df632a76110be6fb57e939c98c2fd65d1f
|
|
BLAKE2b-256 checksum How to use checksums |
87e99b28aa3cb7eda9102046f52801dd51792fb781f4ff85f694fb0d9c84b77c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for py-sc-fermi 2.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.