Installation
This page describes the installation of the console software. It assumes that the hardware is set up as described in Hardware setup.
Requirements
- Python ≥ 3.13
- Spectrum Instrumentation driver for the measurement cards
Python package
Install the package into a virtual environment (venv or conda):
For development, clone the repository and install it in editable mode with the optional dependency groups:
git clone https://github.com/schote/nexus-console.git
cd nexus-console
pip install -e ".[test,lint,dev]"
| Extra | Content |
|---|---|
test |
pytest and coverage |
lint |
ruff, mypy |
dev |
Profiling and notebook tools |
docs-mkdocs |
Documentation build |
Verification
Verify the installation by running the following command.
If the installation was successful, you should see the help context of the command you can start the nexus-service with.
Device configuration
Before you can start executing sequences, you need to create a device configuration file. Copy the example examples/example_device_config.yaml which serves as a template and adapt it to your hardware, including the device paths and the termination noted during the hardware setup. The keys are explained in Device configuration. Continue with the first acquisition.