Skip to main content

EPRAYA: Python package for EPR simulation

Python GitHub License PyPI version

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

License: MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epraya-0.1.35.657.tar.gz (110.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

epraya-0.1.35.657-py3-none-any.whl (114.9 kB view details)

Uploaded Python 3

File details

Details for the file epraya-0.1.35.657.tar.gz.

File metadata

  • Download URL: epraya-0.1.35.657.tar.gz
  • Upload date:
  • Size: 110.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for epraya-0.1.35.657.tar.gz
Algorithm Hash digest
SHA256 0ee879f84904d394e4deebcae20c8b8bd7ffb940dcd468aa44721ad8dc2deb00
MD5 920158a5f4f85b3360fb1ea478658204
BLAKE2b-256 b5ded5dda4435b5ac0ea7168b4d0b6abed06db421d9eec1fe871d6b6917af46f

See more details on using hashes here.

Provenance

The following attestation bundles were made for epraya-0.1.35.657.tar.gz:

Publisher: python-publish.yml on eprayadev/EPRAYA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file epraya-0.1.35.657-py3-none-any.whl.

File metadata

  • Download URL: epraya-0.1.35.657-py3-none-any.whl
  • Upload date:
  • Size: 114.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for epraya-0.1.35.657-py3-none-any.whl
Algorithm Hash digest
SHA256 6cf3beb0cb6e4335be9be5a74776ee3ef29771cac5df9566dc934e4f61257840
MD5 ac8cc38eb349a5e1058f115e6966a45d
BLAKE2b-256 4bcc710e91eeb1475f7ce3ec31379d305c735f1aaf6e9fc434e0c2cb30a71812

See more details on using hashes here.

Provenance

The following attestation bundles were made for epraya-0.1.35.657-py3-none-any.whl:

Publisher: python-publish.yml on eprayadev/EPRAYA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.41.14

2 files

0.1.41.13

2 files

0.1.41.11

2 files

0.1.41.10

2 files

0.1.41.9

2 files

0.1.41.8

2 files

0.1.41.7

2 files

0.1.41.6

2 files

0.1.41.5

2 files

0.1.41.4

2 files

0.1.41.3

2 files

0.1.41.2

2 files

0.1.41.1

2 files

0.1.41

2 files

0.1.40.1814

2 files

0.1.40.1813

2 files

0.1.40.1812

2 files

0.1.40.1811

2 files

0.1.40.1810

2 files

0.1.40.1809

2 files

0.1.40.1808

2 files

0.1.40.1807

2 files

0.1.40.1806

2 files

0.1.40.1805

2 files

0.1.40.1804

2 files

0.1.40.1803

2 files

0.1.40.1802

2 files

0.1.40.1801

2 files

0.1.40.1800

2 files

0.1.40.1730

2 files

0.1.40.1725

2 files

0.1.40.1720

2 files

0.1.40.1710

2 files

0.1.40.1685

2 files

0.1.40.169

2 files

0.1.40.168

2 files

0.1.40.167

2 files

0.1.40.166

2 files

0.1.40.165

2 files

0.1.40.164

2 files

0.1.40.162

2 files

0.1.40.161

2 files

0.1.40.50

2 files

0.1.40.17

2 files

0.1.40.15

2 files

0.1.40.1

2 files

0.1.35.659

2 files

0.1.35.658

2 files

This release

0.1.35.657 This release

2 files

0.1.35.656

2 files

0.1.35.654

2 files

0.1.35.653

2 files

0.1.35.652

2 files

0.1.35.651

2 files

0.1.35.72

2 files

0.1.35.65

2 files

0.1.35.7

2 files

0.1.35.6

2 files

0.1.35.5

2 files

0.1.35.4

2 files

0.1.35

2 files

0.1.34.99.5

2 files

0.1.34.99

2 files

0.1.34.98

2 files

0.1.34.97

2 files

0.1.34.96

2 files

0.1.34.95

2 files

0.1.34.9

2 files

0.1.34.8

2 files

0.1.34.7

2 files

0.1.34.6

2 files

0.1.34.5

2 files

0.1.34

2 files

0.1.33.5

2 files

0.1.33

2 files

0.1.32

2 files

0.1.31

2 files

0.1.30

2 files

0.1.29

2 files

0.1.27

2 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