Skip to main content

EPRAYA: Python package for EPR simulation

Python GitHub License PyPI version

EPRAYA offers tools for simulation, 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

License: MIT

Metadata

Release files for epraya 0.1.50.5

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

Source distribution (sdist)

Source distribution for epraya 0.1.50.5
File Size Uploaded Provenance Actions
epraya-0.1.50.5.tar.gz 136.1 kB With provenance Details for epraya-0.1.50.5.tar.gz

Built distribution (wheel)

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

Total release size: 277.0 kB

Release files / epraya-0.1.50.5.tar.gz

Download URL epraya-0.1.50.5.tar.gz
Size 136.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3dcb0b5c829aba67beaf7debef4879344824b21c05fee4e663eee9c4996df451
BLAKE2b-256 checksum
How to use checksums
8233cc26a585545c3d090129c4c12bc2d4a162abda69a8f7ab4b0b5d57646b5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / epraya-0.1.50.5-py3-none-any.whl

Download URL epraya-0.1.50.5-py3-none-any.whl
Size 140.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
591b98784aafba343c8100bd3879184f9f7e7fd535f12fd308ba449648f6e6bb
BLAKE2b-256 checksum
How to use checksums
b6c44fd5d3579ba3061158d8a59a5009249b3f67142db5a870a12a7505f31a7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Security for epraya 0.1.50.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for epraya-0.1.50.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.50.5 This release

2 release files Full provenance

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