Skip to main content

No project description provided

Project description

PyEPR

PyPI - Version 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
  • psutil

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.2.tar.gz (125.0 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.2-py3-none-any.whl (138.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyepr_esr-1.0.2.tar.gz
  • Upload date:
  • Size: 125.0 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.2.tar.gz
Algorithm Hash digest
SHA256 6b21b9a103cc64524713ac250e5a0ca6ae5de1768e5d1052aa57089095d0c4e8
MD5 e147c0901186b541e04d129d91620f10
BLAKE2b-256 c2e2a073c8b197e6fca1056c3cf8c1a24c82e8da80c7ac6aa41cb0446f0f1734

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyepr_esr-1.0.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: pyepr_esr-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 23948e4bedf9e44d3d3bddb4b890f572d0eec0a5745f8c6a8034c0273d5d1a04
MD5 56c9f4ec8109f682e41fa22d05397698
BLAKE2b-256 667dfbf8e06bd2859b0ad944078d4732508d1301c26de2884c3afe511d038bcf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyepr_esr-1.0.2-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