Skip to content

A unified package for pos-processing optical properties of point defects from first principles calculation.

License

Notifications You must be signed in to change notification settings

Shibu778/defectpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DefectPl

A unified package to calculate and plot optical properties of point defects in insulators and semiconductors.

image Downloads Conda Recipe Anaconda image Conda Downloads image

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.

Documentation

For documentation check : Documentations

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,
)

Plots Gallery

Intensity vs Phonon Energy

S_omega_pHR_loc_rat_vs_penergy.png

S_omega_pHR_ipr_vs_penergy.png

S_omega_pHR_vs_penergy.png

ipr_vs_phonon_energy.png

loc_rat_vs_phonon_energy.png

phonon_energy_vs_phonon_mode_index.png

pHR_vs_phonon_energy.png

vibrational_dis_vs_phonon_energy.png

Contribution

Contributions are welcome. Notice a bug let us know. Thanks.

Author

Main Maintainer: Shibu Meher

About

A unified package for pos-processing optical properties of point defects from first principles calculation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages