Skip to content

felixhoff/EXPERIMENT_control

Repository files navigation

HDAWG control

Scope

This project contains the lab code for programming sequences, controlling and running experiments using Zurich Instruments HDAWG. The code is developed and taiolred for cold atoms experiments in the QPSA Group at ICFO.

Key Dependencies

The control code for HDAWG is based on the zhinst Python package. Saving and handling data is done using xarray, with the help of some quantify-core functions for directory management.

Environment Management

The project uses uv for managin the Python environment. Simply install uv via pip:

pip install uv

and sync the dependencies by running uv sync in the repo directory:

cd ./your-repo-folder
uv sync

The scripts can be run using:

uv run script.py

Please don't forget to add new dependencies to the environment when updating the code, either manually by editing the "pyproject.toml" file, or via terminal using:

uv add dependency-name

Environment

To allow absolute imports, the repo folder is added to the local environment paths using .env. Note that UV does not automatically load the .env file, and it [needs to be set up][https://docs.astral.sh/uv/configuration/files/#env].

The recommended workflow is to run the code from a Powershell within VSCodes, where you can select using Python of the local enrvironment from .venv.

Local Paths

When setting up the project in a new machine, you can edit the local path to the repo folder and data saving by modifiyng the "config/local_settings.yaml" file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published