Skip to main content

Documentation Status made-with-python License: MIT tests pypi black

PyTASER

PyTASER Docs

Official Documentation

PyTASER is a Python (3.9+) library for simulating differential absorption in general, and transient absorption spectroscopy (TAS) in particular, features from quantum chemical calculations of crystals. The goal of this library is to simulate spectra for comparison with and interpretation of experiments. The main features include:

  • Spectra for insulating and semiconducting crystals
  • 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 pytaser

To install directly from the git repository:

pip install git+https://github.com/WMD-group/PyTASER

To do a manual build and installation:

python3 setup.py build
python3 setup.py install

PyTASER is compatible with Python 3.9+ and relies on a number of open-source packages, specifically:

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

One 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>

If using your own, locally calculated data, please follow this workflow. Otherwise, use the MP-integrated workflow here.

Contributing

We appreciate any contributions in the form of a pull request. Please see the Contributing documentation for more details. Additional analysis/example spectra performed with PyTASER would be welcomed.

Please feel free to reach out to us via the Issue Tracker if there are any questions or suggestions.

Testing

Unit tests are in the tests directory and can be run from the top directory using pytest. Automatic testing is run on the master and develop branches using GH Actions.

Please run tests and add new tests for any new features whenever submitting pull requests.

Future Work

Future topics we plan to build on:

  • Incorporating finite-temperature effects (particularly for indirect band-to-band transitions)
  • Direct treatment of pump-probe time delay and relaxation kinetics
  • Incorporating spin-flip processes for spin-polarised systems
  • Description of defective crystals

Acknowledgements

The project has been developed by @savya10, @kavanase and @youngwonwoo under the supervision of @utf and @aronwalsh.

Metadata

Release files for pytaser 2.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytaser 2.1.3
File Size Uploaded
pytaser-2.1.3.tar.gz 15.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytaser 2.1.3
File Interpreter ABI Platform
pytaser-2.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 MB

Release files / pytaser-2.1.3.tar.gz

Download URL pytaser-2.1.3.tar.gz
Size 15.6 MB
Tags Source
SHA-256 checksum
How to use checksums
96fdc1ae7d169a4135a15dffd0ddb1acbc4a468943d40ffd7d95962c6cdbc23a
BLAKE2b-256 checksum
How to use checksums
b15fcdc1ac51593792e78a6beb02417213dd1d7be3a0bfb80bced683385b225e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / pytaser-2.1.3-py3-none-any.whl

Download URL pytaser-2.1.3-py3-none-any.whl
Size 29.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1cb55d990a8b41fca36c3e7484780737c5e094bf0df3d664c134d3c6e65ea18
BLAKE2b-256 checksum
How to use checksums
56c3b2089178f21d2bd19fb3801888c2cb06c5f957ff789142a83828c06d6f83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

2.3.1

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.4

2 release files

This release

2.1.3 This release

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page