Skip to main content

dive

About

dive is a Python package for Bayesian analysis of dipolar EPR (electron paramagnetic resonance) spectroscopy data through Markov chain Monte Carlo (MCMC) sampling with the Python package PyMC.

Requirements

dive is available for Windows, Mac and Linux systems and requires Python 3.9 or later and PyMC 5.0 or later.

Features

dive's features include:

  • An output InferenceData object containing many random posterior samples for each parameter
  • Full uncertainty quantification for all model parameters, including the distance distribution
  • Visualizations for ensembles of fitted signals and residuals
  • Visualizations for ensembles of fitted distance distributions
  • Histograms for margnialized posteriors of other parameters such as modulation depth and background decay rate

Setup

You can install dive using pip. Please note that the PyPI package name is dive-EPR.

pip install dive-EPR

You can also directly clone the dive directory. Please make sure to also import the necessary packages.

pip install pymc deerlab scipy matplotlib numpy pandas mkl-service h5netcdf pytest
git clone https://github.com/StollLab/dive

dive can then be used by importing the package as usual.

import dive

Documentation

See the documentation for a detailed guide on how to use dive. An IPython Notebook guide on using dive can also be found under the examples/ directory.

Citation

When you use dive in your work, please cite the following publication:

Bayesian Probabilistic Analysis of DEER Spectroscopy Data Using Parametric Distance Distribution Models
Sarah R. Sweger, Stephan Pribitzer, and Stefan Stoll
J. Phys. Chem. A 2020, 124, 30, 6193–6202
doi.org/10.1021/acs.jpca.0c05026

License

dive is licensed under the MIT License.

Copyright © 2024: Sarah Sweger, Julian Cheung, Lukas Zha, Stephan Pribitzer, Stefan Stoll

Release files for dive-EPR 0.2.1

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

Source distribution (sdist)

Source distribution for dive-EPR 0.2.1
File Size Uploaded
dive_epr-0.2.1.tar.gz 28.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dive-EPR 0.2.1
File Interpreter ABI Platform
dive_EPR-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 58.5 kB

Release files / dive_epr-0.2.1.tar.gz

Download URL dive_epr-0.2.1.tar.gz
Size 28.6 kB
Tags Source
SHA-256 checksum
How to use checksums
db401b96cbfc9eaa6497fbbfe4601153406561ed0212131932e42647d6249912
BLAKE2b-256 checksum
How to use checksums
4481bbff8a09aa01dde6d99c8ae468fe7d8eea2365656c6cb96260fcf8e05fc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / dive_EPR-0.2.1-py3-none-any.whl

Download URL dive_EPR-0.2.1-py3-none-any.whl
Size 29.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a3f0b8c7c51a7439ba21e2dd604ab06b1159b35d575fb0648b81f43aa13dd2a
BLAKE2b-256 checksum
How to use checksums
9f3d7b15969d1bf3893b910b5e5fecf190392c0ba6ca85e3d261554d1dfe0d8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release 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