Skip to main content

NQR Bloch Simulator for Python

This is a Python implementation of an NQR Bloch Simulator. It can be used for simulating NQR spectroscopy signals in the time domain. The simulator is based on the paper [1].

Right now the implementation is in a early stage and has not yet been tested and verified.

Installation

Create a virtual environment and activate it:

python -m venv venv
source venv/bin/activate

To install the package, run the following command in the root directory of the project:

pip install .

Alternatively you can install the package via PyPI:

pip install nqr-blochsimulator

The package can then be tested by running

python -m unittest tests/simulation.py

This will run a simulation of a simple FID for BiPh3 and plot the result in time domain.

References

The simulator is based on the paper:

[1] C. Graf, A. Rund, C.S. Aigner, R. Stollberger, Accuracy and Performance Analysis for Bloch and Bloch-McConnell simulation methods Journal of Magnetic Resonance 329(3):107011 doi: 10.1016/j.jmr.2021.107011

Metadata

Release files for nqr-blochsimulator 0.0.3

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

Source distribution (sdist)

Source distribution for nqr-blochsimulator 0.0.3
File Size Uploaded Provenance
nqr_blochsimulator-0.0.3.tar.gz 9.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nqr-blochsimulator 0.0.3
File Interpreter ABI Platform
nqr_blochsimulator-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / nqr_blochsimulator-0.0.3.tar.gz

Download URL nqr_blochsimulator-0.0.3.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2c84cc9480361b3f5a0855d27690cd0776c55d0d8b8150ca0ca249052d7b8790
BLAKE2b-256 checksum
How to use checksums
5bd8256eabd8eeea969b61fd907065b4b6f7f6751646419bda978232cf3d4037
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release files / nqr_blochsimulator-0.0.3-py3-none-any.whl

Download URL nqr_blochsimulator-0.0.3-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
764865520cc99f1eb432288c07f28d65b581ec8b3acccd911cb8c643a3389b23
BLAKE2b-256 checksum
How to use checksums
7018e48e45367eb94366a56c6b7b9c52abf33222c6d9623ab346d7c652a0f2e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Security for nqr-blochsimulator 0.0.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.0.3 This release

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