Simple Python script to simulate NQR Bloch equations
Project description
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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nqr_blochsimulator-0.0.2.tar.gz
.
File metadata
- Download URL: nqr_blochsimulator-0.0.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | feca156689750aa70a6ce71962fe0ff4f8ea862fb1bcf8676ee974ac0623b4e7 |
|
MD5 | fb312923c8ae1353e57fb168b1628ac3 |
|
BLAKE2b-256 | 2c41a87b4a009f728b7d076fc27a1204a7fb59e30dccbc73d53fc04c30554886 |
File details
Details for the file nqr_blochsimulator-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: nqr_blochsimulator-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eebf8d1dacc42b100a64be4cafae89879940b3db775a570766aebca13f6d3d92 |
|
MD5 | 173ebf707b7fa0eb4d816e641031589b |
|
BLAKE2b-256 | 0c3a94741b02ec6fddba48367535371fb1877569b11d09179ab2741896eed8d8 |