Skip to main content

No project description provided

Project description

PyEPR

DOI

About

PyEPR is a Python based software package for designing, running and processing EPR experiments on a wide variety of hardware. It is built to be modular and extensible, allowing easy integration of new hardware and experiment types. PyEPR is developed by the Jeschke Lab @ ETH. To extend the functionality of PyEPR we are actively looking for contributors.

PyEPR currently supports BRUKER ElexSys spectrometers running Xepr 2.9 and Andrin Doll style homebuilt spectrometers running Matlab based control software. Extending support for new hardware is straightforward and we are happy to assist anyone interested in doing so.

PyEPR was developed to provide the hardware abstraction layer for autoDEER, a software package for running automated DEER experiments. However, PyEPR can also be used as a general purpose EPR data processing and simulation library.

Features

  • Fully python based, open-source and free to use
  • Intuitive object-oriented pulse sequencer
  • Pre-defined common EPR experiments (CW, Hahn Echo, Inversion Recovery, Carr-Purcell, DEER, etc.)
  • Easy to define custom experiments
  • Pre-defined common pulse shapes (rectangular, Gaussian, sech/tanh, etc.)
  • Easy to define custom pulse shapes
  • Hardware abstraction layer for interfacing with different spectrometers
  • BRUKER PulseSpel compiler from PyEPR sequences

Installation

It is recommended to install PyEPR in a virtual environment, from source.

Dependencies

  • numpy
  • scipy
  • matplotlib
  • DeerLab
  • pyyaml
  • xarray
  • h5netcdf
  • toml
  • numba

Requirements

PyEPR is generally compatible with Windows, Mac and Linux and requires Python 3.11 or 3.12. Support for new Python versions will only be added once they become stable, and have been fully tested with PyEPR. This can take some time, so please be patient. The specific hardware implementation may add additional limitations for example, when using XeprAPI a modern Linux OS is required.

Citing PyEPR

At the moment, no paper is associated with PyEPR. Once published, it will be linked here. It is kindly requested that in the meantime the appropriate DOI number is cited. The associated Zotero entry is available here.

Citing academic software is important as it helps to ensure the long-term sustainability of the software, and allows the developers to track the impact of their work and secure future funding. It also helps to provide credit to the developers for their hard work.

Contributing

Contributions to PyEPR are welcome! If you have discovered an issue or have a feature request, please open an issue on the GitHub repository. If you would like to contribute code, please fork the repository and submit a pull request. If you have any questions or need help, please open an issue or contact the authors.

License

PyEPR is licensed under the GNU GPLv3 public license, and is released without warranty or liability. Commercial use is allowed, however it is advised to contact the authors for support.

Copyright © 2021-2025: Hugo Karas, Stefan Stoll and Gunnar Jeschke

Project details


Download files

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

Source Distribution

pyepr_esr-1.0.tar.gz (124.9 kB view details)

Uploaded Source

Built Distribution

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

pyepr_esr-1.0-py3-none-any.whl (138.2 kB view details)

Uploaded Python 3

File details

Details for the file pyepr_esr-1.0.tar.gz.

File metadata

  • Download URL: pyepr_esr-1.0.tar.gz
  • Upload date:
  • Size: 124.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyepr_esr-1.0.tar.gz
Algorithm Hash digest
SHA256 64b59864da1183080fa2dc17d06e69b418b6ab3020180ce6683c0c72fb52b013
MD5 164228ec5d9f15304e1ca0e20da258e0
BLAKE2b-256 6271afc3afa156c2e9f8a33eeaee512e7865a9d61d69f9a1ca1aa1441af74f23

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyepr_esr-1.0.tar.gz:

Publisher: PyPI_upload.yml on JeschkeLab/PyEPR

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

File details

Details for the file pyepr_esr-1.0-py3-none-any.whl.

File metadata

  • Download URL: pyepr_esr-1.0-py3-none-any.whl
  • Upload date:
  • Size: 138.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyepr_esr-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c26bc70988643c1240d20d392e058d3dfb3408b3c081377630698cb389a4e9c8
MD5 04717bf547e3ecf2b2acc359391a9546
BLAKE2b-256 8240ab5000aca16ed886e927e80572ee97e81ee2ab304f8274bcf7a52afab2b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyepr_esr-1.0-py3-none-any.whl:

Publisher: PyPI_upload.yml on JeschkeLab/PyEPR

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page