Skip to main content

Simple Python script to interact with various python modules used for magnetic resonance spectroscopy.

Project description

NQRduck

Installation

Requirements

  • Python 3.10+
  • pip
  • virtualenv

Setup

  1. Clone the repository

  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate
    

You can install the nqrduck core via PyPi or from the cloned repository. 3. Install the package with pip install .[all] to install all available NQRduck modules inside the cloned repository or just pip install "nqrduck[all]" to install the core package from PyPi. Careful here you might need additional dependencies specified in the respective module repositories. If you only want to install some base modules use pip install .[base] inside the cloned repository or with pip install -U "nqrduck[base]" . You can find the different modules here. 4. Run the program with nqrduck.

Usage

Individual features of the software can be installed as separate Python packages, like spectrometer control, pulse sequence programming or simulation of magnetic resonance experiments. The available functionality of the NQRduck program therefore depends on the installed packages.

The UI is structured as follows:

drawing

The UI is separated into different areas. Section 'a', highlighted in red, represents the menu bar used for general settings of the program and spectrometer selection. Section 'b', outlined in green, allows switching among various modules within the main view of the core, with the active module displayed in bold. Section 'c', depicted in blue, is the active module's view. The currently active module in the figure is the nqrduck-measurement module used for single frequency mangetic resonance experiments. The overall application is part of the NQRduck core and opens when the NQRduck core is started.

Uninstall

To uninstall the nqrduck program you can run the following command in the terminal while the virtual environment is activated:

nqrduck --uninstall

License

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

Contributing: Developing NQRduck modules

A template module is provided here. It is a good starting point for developing new modules.

If you want to contribute to the core, please add an issue or a pull request :).

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-0.0.12.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

nqrduck-0.0.12-py3-none-any.whl (174.8 kB view details)

Uploaded Python 3

File details

Details for the file nqrduck-0.0.12.tar.gz.

File metadata

  • Download URL: nqrduck-0.0.12.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for nqrduck-0.0.12.tar.gz
Algorithm Hash digest
SHA256 da3f56aa0db8b1e00655e9c939a2be71cd17a3d145c1e9cc19fcad4fc6753cce
MD5 e23f24678723706308d5fa5e30eb4af8
BLAKE2b-256 4649ebe942444b27d35ea6d17ebb4b43e6ec7f9780a6e4415f325f113e0f9749

See more details on using hashes here.

File details

Details for the file nqrduck-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: nqrduck-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 174.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for nqrduck-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 d2ea607cd923dfe8b67ee5bf1722f5c2bfc474ab3393d74cda04f757396511ea
MD5 4e20ad9e5695f5ca78c291f0f88fa58c
BLAKE2b-256 6e56069552093aeafac3ad468f4af8a986a31f6d879643111d20288e02d60ad0

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