No description
Find a file
2024-05-27 19:41:04 +02:00
.github/workflows Added missing dependency? 2024-05-01 20:54:14 +02:00
docs/img Added UI example to README: 2024-02-22 11:42:51 +01:00
src/nqrduck Improved form selection. 2024-05-22 17:50:44 +02:00
tests Added on_settings_changed stub for tests. 2024-04-01 11:08:06 +02:00
.gitignore Added nqrduck file extensions to gitignore. 2023-12-10 08:18:34 +01:00
CHANGELOG.md Version bump. 2024-05-27 19:40:29 +02:00
LICENSE Update LICENSE 2024-04-26 17:47:30 +02:00
pyproject.toml Version bump. 2024-05-27 19:40:39 +02:00
README.md Added uninstall information. 2024-05-22 12:39:26 +02:00

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 :).