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
    
  3. Install the package with pip install .[all] to install all available NQRduck modules. 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]. Alternatively, you can install different modules separately by running pip install .[module_name] where module_name is the name of the module you want to install. 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.

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

Uploaded Source

Built Distribution

nqrduck-0.0.4-py3-none-any.whl (145.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nqrduck-0.0.4.tar.gz
Algorithm Hash digest
SHA256 fb262d28bd4538d31ad3a802dc0bce583825f1a6a8744f425e7354ea702547ec
MD5 802cf5851e52e101222ba9605ac0361a
BLAKE2b-256 76667472b9013a4199556c12b297c307747b858b736aef9fd30fe198be8c0fd1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nqrduck-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 145.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for nqrduck-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 61206f5fb7912eb6b3baf848219db85d844f2744d0d965842c5ff1c485ad32cd
MD5 319fa216540847dab0afe08f2c4f0eec
BLAKE2b-256 86cc53269d90d390f741b3ffa11d43c13f58f5fa27cf3097ce53d069958fb9a0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page