EPRAYA: Python package for EPR simulation
EPRAYA offers the tools for simulations, fitting and manipulation of EPR (Electron Paramagnetic Resonance) spectroscopic data (cw EPR) in Python. Using only three containers: Ham, Exp and Vary, users can insert hamiltonian parameters, experimental conditions and range for parameters' variation.
It also offers two modes for simulation:
Classic (CPU): Based in numpy arrays and scipy functions in parallel for simulation and fitting.
With JAX: Based in the JAX package for more efficient calculation and fitting with the ADAM algorithm (GPU use is recommended for faster results).
Installation
The recommended installation method is:
pip install epraya
We recommend to use code editors that support tkinter and plotly (VS Code, Jupyter) to take full advantage of the functions in the package. However, it's possible to use the package in any other code editors.
For further instructions on installation and common question, see the documentation.
Features
- Simulation of cw EPR single or multiple spin systems of powder or cristal samples.
- Interactive interface for data inspection and manipulation with ease.
- Identification of energy levels and resonant fields.
- Data fitting with Nelder Mead, Metropolis, Genetic Algorithm, Least Squares and ADAM.
- Plots angular dependance, enegy diagrams, EPR intensity and Absorption curves.
- JAX implemenetation for GPU compatability.
Documentation
Functions description, tutorials and more specific information, can be access in the documentation..
Limitations
- Current version of EPRAYA only supports cw EPR. We are working in implementing ENDOR and pulse EPR.
- EPRAYA supports the simulation to at most 4 interactive spin systems in classic mode and 2 systems with JAX. We expect to improve the calculation times and the possibility to simulate more systems following versions.
- For easier data manipulation, plotly and tkinter support is required.
Contributions
EPRAYA is a open-code project and contributions are welcome. If you find an error or bug, would like to improve the code or make the documentation clearer, please let us know by opening an issue or pull request.
Authors
EPRAYA is a project of the Física Aplicada group of the Universidad Nacional de Colombia. The principal contributors to the project are: Juan Sebastián Castro, Ovidio Almanza and Miguel E. Gámez.
License
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 epraya-0.1.34.9.tar.gz.
File metadata
- Download URL: epraya-0.1.34.9.tar.gz
- Upload date:
- Size: 105.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6d2808154a9adc06b3e9ce81e579547ca991c27099e15aea44ef5cf161e0c8a
|
|
| MD5 |
3d7a948215801e948e5598846766cb83
|
|
| BLAKE2b-256 |
dc7256e6f7412603b9a1fe4650b27729d81fe2084c8e31e44c2d4580a029e49f
|
Provenance
The following attestation bundles were made for epraya-0.1.34.9.tar.gz:
Publisher:
python-publish.yml on eprayadev/EPRAYA
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
epraya-0.1.34.9.tar.gz -
Subject digest:
d6d2808154a9adc06b3e9ce81e579547ca991c27099e15aea44ef5cf161e0c8a - Sigstore transparency entry: 2551754212
- Sigstore integration time:
-
Permalink:
eprayadev/EPRAYA@b5b6eac46cf2eabeddf8e310c53e56e830c9865b -
Branch / Tag:
refs/tags/0.1.34.9 - Owner: https://github.com/eprayadev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b5b6eac46cf2eabeddf8e310c53e56e830c9865b -
Trigger Event:
release
-
Statement type:
File details
Details for the file epraya-0.1.34.9-py3-none-any.whl.
File metadata
- Download URL: epraya-0.1.34.9-py3-none-any.whl
- Upload date:
- Size: 109.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9712f03384b81b85acb9711ad88e5578f0ef7798f6aae5948c74701125db284f
|
|
| MD5 |
a0493e8699e0bbc153d3ac887f34afda
|
|
| BLAKE2b-256 |
569a1a117f335286e3c527805ac2c4037d8932f2269712c70eb47eae03ccf894
|
Provenance
The following attestation bundles were made for epraya-0.1.34.9-py3-none-any.whl:
Publisher:
python-publish.yml on eprayadev/EPRAYA
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
epraya-0.1.34.9-py3-none-any.whl -
Subject digest:
9712f03384b81b85acb9711ad88e5578f0ef7798f6aae5948c74701125db284f - Sigstore transparency entry: 2551754271
- Sigstore integration time:
-
Permalink:
eprayadev/EPRAYA@b5b6eac46cf2eabeddf8e310c53e56e830c9865b -
Branch / Tag:
refs/tags/0.1.34.9 - Owner: https://github.com/eprayadev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b5b6eac46cf2eabeddf8e310c53e56e830c9865b -
Trigger Event:
release
-
Statement type: