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
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 nqrduck_spectrometer_simulator-0.0.4.tar.gz
.
File metadata
- Download URL: nqrduck_spectrometer_simulator-0.0.4.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49cc6ffddfe122051894793f9ca3e6814b58d6b066aa9448d6caee8e5c84362 |
|
MD5 | eb2f4aea19f260055bb0cb3ea2fa13b2 |
|
BLAKE2b-256 | 689d52c02702db7c6a6846845a3af17acf2dcf38f6db48b08ee9424bf453d59e |
File details
Details for the file nqrduck_spectrometer_simulator-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: nqrduck_spectrometer_simulator-0.0.4-py3-none-any.whl
- Upload date:
- Size: 12.1 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 | 183aa419d8df55195656b1abec29986132ec81943c19b4456605d467d4aa3488 |
|
MD5 | 785b7567f51295dba0fab93f223ec62f |
|
BLAKE2b-256 | 96ff4dd944d2332617d457e092b26ff81d75176cc328c225210165b3024b68bc |