TAS prediction tool
Project description
PyTASER
PyTASER is a Python (3.9+) library built for simulating transient absorption spectroscopy (TAS) features from DFT calculations. The goal of this library is to simulate TAS spectra for comparison with and interpretation of experimental spectra. The main features include:
- A TAS spectrum for a pristine semiconducting crystal
- Components from individual band-to-band transitions
- Spectra for different conditions: temperature and carrier concentrations
- Consideration of non-magnetic and magnetic materials
- Capability to input calculated bandstructure and density of states inputs with support for the Materials Project
Installation
To install the module with pip (recommended):
pip install --user pytaser
To install directly from the git repository:
pip install --user git+https://github.com/WMD-group/PyTASER
To do a manual build and installation:
python3 setup.py build
python3 setup.py install --user
PyTASER is currently compatible with Python 3.9+ and relies on a number of open-source python packages, specifically:
- pymatgen
- numpy, scipy for data structures and unit conversion
- matplotlib for plotting the spectra
Developer’s installation (optional)
For development work, PyTASER can also be installed from a copy of the source directory:
Download PyTASER source code using the command:
git clone https://github.com/WMD-group/PyTASER
Navigate to root directory:
cd PyTASER
Install the code with the command:
pip install -e .
This command tries to obtain the required packages and their dependencies and install them automatically.
Visualisation
The preferred method is to generate a Jupyter Notebook, as shown in the examples folder. Alternatively, you can set up a file in Python to run it in the command line of the terminal:
python3 <filename.py>
Contributing
We appreciate any contributions in the form of a pull request. Additional test cases/example spectra performed with PyTASER would be welcomed. Please feel free to reach out to us if there are any questions or suggestions.
Future topics we plan to build on:
- Incorporating finite-temperature effects (particularly for indirect bandgaps)
- Description of more complex optical processes (e.g. stimulated emission)
- Direct treatment of pump-probe time delay
- Incorporating spin-flip processes for spin-polarised systems
- Description of defective crystals
Acknowledgements
The project was the focus of a UROP by @savya10, supervised by @utf and @aronwalsh, with on-going developments and testing from @kavanase and @youngwonwoo.
Project details
Release history Release notifications | RSS feed
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 pytaser-1.1.0.tar.gz.
File metadata
- Download URL: pytaser-1.1.0.tar.gz
- Upload date:
- Size: 13.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
725a8019c985b3d103c9978e76d9284c93d67fd551a9e9c5942f6603bb95a90a
|
|
| MD5 |
dee271d0feb07c9fd3751e913c9a5b3f
|
|
| BLAKE2b-256 |
7f9c919e3f63e2dbd9101b46196a08c59e62045e9311f70c03227e3081c85b44
|
File details
Details for the file pytaser-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pytaser-1.1.0-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47e50ccd6c284d43191c90d8d9f76765f5eaf7f2fe47ea417819e28250e3ff0d
|
|
| MD5 |
c00a944f80bcbacb9e4514e2ee10d255
|
|
| BLAKE2b-256 |
d59da64e49f006c65ae414a41ec79fd06961bf2be7433f41179d50b0629d4755
|