A unified package for optical properties of point defects.
Project description
DefectPl
A unified package to calculate and plot optical properties of point defects in insulators and semiconductors.
Purpose of the Package
The purpose of this package is to calculate the intensity of photoluminescence from point defects in solids with method described in New J. Phys. 16 (2014) 073026. It also calculates and plot other relevant quantities like partial Huang Rhys factor, inverse participation ratio etc.
If you use this code, consider citing the following article.
Carbon with Stone-Wales defect as quantum emitter in h-BN, Phys. Rev. B - Accepted 5 March, 2025
Documentation
For documentation check : https://Shibu778.github.io/defectpl/
Getting Started
The package can be found in pypi. You can install it using pip.
Installation
pip install defectpl
Using conda
conda install conda-forge::defectpl
Using the GitHub clone
git clone https://github.com/Shibu778/defectpl.git
cd defectpl/defectpl
pip install -e .
Usage
Following is an example usage with the data stored in tests/data for NV center in diamond.
from defectpl.defectpl import DefectPl
band_yaml = "../tests/data/band.yaml"
contcar_gs = "../tests/data/CONTCAR_gs"
contcar_es = "../tests/data/CONTCAR_es"
out_dir = "./plots"
EZPL = 1.95
gamma = 2
plot_all = True
iplot_xlim = [1000, 2000]
defctpl = DefectPl(
band_yaml,
contcar_gs,
contcar_es,
EZPL,
gamma,
iplot_xlim=iplot_xlim,
plot_all=plot_all,
out_dir=out_dir,
)
Contribution
Contributions are welcome. Notice a bug let us know. Thanks.
Author
Main Maintainer: Shibu Meher
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
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 defectpl-0.1.3.tar.gz.
File metadata
- Download URL: defectpl-0.1.3.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e99042779fed39265a801bcc27bd979ae30e6c75aba00074a3c70b53c6462ec9
|
|
| MD5 |
a146b0b92c7916639e1dca56680c25ab
|
|
| BLAKE2b-256 |
3a7f37a34b11a00c2f837ef7fcda06fe1493aac58f3aa98f5fbd40790b632dfa
|
File details
Details for the file defectpl-0.1.3-py3-none-any.whl.
File metadata
- Download URL: defectpl-0.1.3-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
344a9af7af7284b544fb3705b303e576feb3b03e0ab978c0ef44c2ae482da234
|
|
| MD5 |
989a54ded74c17685da5ab286195ace8
|
|
| BLAKE2b-256 |
37ef1428e29ae852ade70080fddc27f85148116c9ef0ba4f230fcb718764aee8
|