# lineshape_tools
<!-- index start -->
`lineshape_tools` is a Python software that implements the formulation for evaluating the effects of electron-phonon coupling on the optical properties of defects.
In particular, it implements the approach pioneered by [Alkauskas *et al.*](https://doi.org/10.1088/1367-2630/16/7/073026) to compute the lineshape function within Huang-Rhys theory.
The code interfaces with [`mace`](https://mace-docs.readthedocs.io/en/latest/) and [`phonopy`](https://phonopy.github.io/phonopy/) to evaluate the dynamical matrix and obtain the phonons of a defect-containing supercell.
### Installation
<!-- install start -->
To install the latest version of `lineshape_tools`, create a new virtual environment and run
```
pip install lineshape_tools
```
<!-- install end -->
For more installation information and some performance considerations, see the [Installation page]().
### Usage
`lineshape_tools` provides a command-line interface for interacting with the code. See
```
lineshape_tools --help
```
Detailed usage information can be found in the [Tutorials page]().
### How to Cite
<!-- cite start -->
If you use this code, please consider citing
```bibtex
@misc{turiansky_machine_2025,
title = {Machine Learning for Fast and Accurate Optical Lineshapes of Defects},
author = {Turiansky, Mark E. and Lyons, John L., and Bernstein, Noam},
year = {2025},
number = {arXiv:XXXX.XXXXX},
eprint = {XXXX.XXXXX},
primaryclass = {cond-mat},
publisher = {arXiv},
doi = {},
urldate = {},
archiveprefix = {arXiv},
}
```
<!-- cite end -->
Please also consider citing the foundational works that made this code possible on the [Citation page]().
<!-- index end -->
Raw data
{
"_id": null,
"home_page": null,
"name": "lineshape_tools",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.14,>=3.10",
"maintainer_email": null,
"keywords": "defect, luminescence, absorption, electron-phonon coupling, density functional theory",
"author": null,
"author_email": "\"Mark E. Turiansky\" <mark.e.turiansky.ctr@us.navy.mil>",
"download_url": "https://files.pythonhosted.org/packages/7b/e1/41bfdea42df35aeec263eab2a02fbcc040b5b1404c39ac66337b070ab5be/lineshape_tools-0.1.0.tar.gz",
"platform": null,
"description": "# lineshape_tools\n<!-- index start -->\n\n`lineshape_tools` is a Python software that implements the formulation for evaluating the effects of electron-phonon coupling on the optical properties of defects.\nIn particular, it implements the approach pioneered by [Alkauskas *et al.*](https://doi.org/10.1088/1367-2630/16/7/073026) to compute the lineshape function within Huang-Rhys theory.\nThe code interfaces with [`mace`](https://mace-docs.readthedocs.io/en/latest/) and [`phonopy`](https://phonopy.github.io/phonopy/) to evaluate the dynamical matrix and obtain the phonons of a defect-containing supercell.\n\n### Installation\n<!-- install start -->\nTo install the latest version of `lineshape_tools`, create a new virtual environment and run\n```\npip install lineshape_tools\n```\n<!-- install end -->\nFor more installation information and some performance considerations, see the [Installation page]().\n\n### Usage \n`lineshape_tools` provides a command-line interface for interacting with the code. See\n```\nlineshape_tools --help\n```\nDetailed usage information can be found in the [Tutorials page]().\n\n### How to Cite\n<!-- cite start -->\nIf you use this code, please consider citing\n```bibtex\n@misc{turiansky_machine_2025,\n title = {Machine Learning for Fast and Accurate Optical Lineshapes of Defects},\n author = {Turiansky, Mark E. and Lyons, John L., and Bernstein, Noam},\n year = {2025},\n number = {arXiv:XXXX.XXXXX},\n eprint = {XXXX.XXXXX},\n primaryclass = {cond-mat},\n publisher = {arXiv},\n doi = {},\n urldate = {},\n archiveprefix = {arXiv},\n}\n```\n<!-- cite end -->\nPlease also consider citing the foundational works that made this code possible on the [Citation page]().\n\n<!-- index end -->\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Software to evaluate the optical lineshape function of a defect.",
"version": "0.1.0",
"project_urls": {
"Documentation": "https://lineshape_tools.readthedocs.io/en/latest",
"Homepage": "https://github.com/mturiansky/lineshape_tools",
"Issues": "https://github.com/mturiansky/lineshape_tools/issues",
"Repository": "https://github.com/mturiansky/lineshape_tools.git"
},
"split_keywords": [
"defect",
" luminescence",
" absorption",
" electron-phonon coupling",
" density functional theory"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a63be7589629fdda8eaa893197c3c1eef7d2576ad9cd60eadc8aaa1a80e146f4",
"md5": "a895fcf090d2461f9c13c79400ccc0de",
"sha256": "722ae035d93f802750764c41156b07f6b0919554d917bcbfefe413fa866d585d"
},
"downloads": -1,
"filename": "lineshape_tools-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a895fcf090d2461f9c13c79400ccc0de",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.14,>=3.10",
"size": 22631,
"upload_time": "2025-08-12T19:28:37",
"upload_time_iso_8601": "2025-08-12T19:28:37.337927Z",
"url": "https://files.pythonhosted.org/packages/a6/3b/e7589629fdda8eaa893197c3c1eef7d2576ad9cd60eadc8aaa1a80e146f4/lineshape_tools-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7be141bfdea42df35aeec263eab2a02fbcc040b5b1404c39ac66337b070ab5be",
"md5": "a010d39ef12fabf8ef009436bad945bc",
"sha256": "77993b22b5161db293c48dd16d9896f24b70cf30b5904ac0d4745c5cdcf44d65"
},
"downloads": -1,
"filename": "lineshape_tools-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a010d39ef12fabf8ef009436bad945bc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.14,>=3.10",
"size": 1237854,
"upload_time": "2025-08-12T19:28:38",
"upload_time_iso_8601": "2025-08-12T19:28:38.866879Z",
"url": "https://files.pythonhosted.org/packages/7b/e1/41bfdea42df35aeec263eab2a02fbcc040b5b1404c39ac66337b070ab5be/lineshape_tools-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-12 19:28:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mturiansky",
"github_project": "lineshape_tools",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "lineshape_tools"
}