Skip to main content

A submodule for the nqrduck-spectrometer module which implements the functionality of a NQR bloch simulator. This should enable easy simulation of NQR experiments.

Project description

NQRduck Module: Spectrometer Simulator

This module is a part of the NQRduck project. It is a submodule of the spectrometer module for the NQRduck project. It is designed to be used with the NQRduck project.

The module is used to simulate magnetic resonance experiments. It is based on the Bloch simulator by C. Graf [2].

Installation

Requirements

The requirements for the module are handled by the pyproject.toml file. The user needs to install the NQRduck core. The simulator module uses the nqr-blochsimulator project for simulation of the bloch equation. This module is automatically installed when installing the simulator module.

Setup

To install the module you need the NQRduck core. You can find the installation instructions for the NQRduck core here.

Ideally you should install the module in a virtual environment. You can create a virtual environment by running the following command in the terminal:

python -m venv nqrduck

You can install this module and the dependencies by running the following command in the terminal after cloning the repository and navigating to the root directory of the project:

pip install .

Alternatively you can install the module via PyPI:

pip install nqrduck-spectrometer-simulator

Usage

The pulse sequence is graphically programmed using the nqrduck-pulseprogrammer within the NQRduck program under the 'Spectrometer' tab.

Notes

The simulator is only usable for Nuclear Quadrupole Resonance (NQR) experiments. It is not intended for Nuclear Magnetic Resonance (NMR) experiments at the moment. This is because the signal equation is different for NMR and NQR. The current implementation does not include the (permanent) $B_0$ field or the z-gradient. I hope to implement NMR simulations in the future.

Additionally this simulator has only been verified for one sample (BiPh3 at 300K). The simulator should therefore be used with caution and the results should be verified with a real spectrometer.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

nqrduck_spectrometer_simulator-0.0.6.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file nqrduck_spectrometer_simulator-0.0.6.tar.gz.

File metadata

File hashes

Hashes for nqrduck_spectrometer_simulator-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b633fb75e29be0ff5ec9975230350def4749edca3ccbcfc08ff9c40b0a081b84
MD5 1341c3bf91cc3d2d7e039cd43f44cd2c
BLAKE2b-256 63736c8bf790a8579a1eb672eabea62c1a59a09a11816463945615b972cce6a1

See more details on using hashes here.

File details

Details for the file nqrduck_spectrometer_simulator-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nqrduck_spectrometer_simulator-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 63ece004e5ced5de749448500249029562afa8828deb9740f39bfea6182ebb91
MD5 ceab13bd8ccb0286784d8b915ba79a7f
BLAKE2b-256 8818f2906ca2047868e502e8a1c808401a4fd38a7f6b1e3ab8d0222901997947

See more details on using hashes here.

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