Python package for controlling optical test bench equipment in kernel-nulling interferometry
Project description
Kernel test bench controls
This repo aim to provide a full set of tools to control all the devices on the Kernel-Nuller test bench.
🚀 Quickstart
Requirements:
- Python 3.12
- Conda (recommended)
Option 1: Installation with Conda (recommended)
-
Create and activate the conda environment
conda env create -f environment.yml conda activate photonics
-
Start a Python instance
python
And import the kbench module
import kbench
Option 2: Installation with pip
-
(Recommended) Create a virtual environment
python3.12 -m venv .venv
and activate it
source .venv/bin/activate # Linux .venv/Scripts/activate # Windows
-
Install the Python module
pip install -r requirements.txt pip install -e .
-
Start a Python instance
python
And import the kbench module
import kbench
You can now use all Kbench devices according to the documentation!
📚 Documentation
The documentation should be available at the adress: kbench.readthedocs.io.
If you want to build the doc locally, once the project is setup (according to the instructions above):
- Go in the
docsfoldercd docs
- Install the requirements (by preference, in a virtual environment)
pip install -r requirements.txt
- Build the doc
make html # Linux .\make.bat html # Windows
Once the documentation is build, you can find it in the docs/_build_ folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kbench_controls-0.7.3.tar.gz.
File metadata
- Download URL: kbench_controls-0.7.3.tar.gz
- Upload date:
- Size: 114.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a77be4b9f39b2dfa1f91b7fefa4b84acbd2be70b1afc0c4c83c77766f0e6d5c
|
|
| MD5 |
1c97ce39c18ded2dd0093b41c1936fcd
|
|
| BLAKE2b-256 |
0d8228aced257caf889c7dbeac80e7b354e9f0a053dd3a0ccf7d1d9b72a771b2
|
File details
Details for the file kbench_controls-0.7.3-py3-none-any.whl.
File metadata
- Download URL: kbench_controls-0.7.3-py3-none-any.whl
- Upload date:
- Size: 115.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed0d3c0cc6ab84a5fe8ba3cc394acde3dee90ed4ecb43c7f1b8e0c36fc23989e
|
|
| MD5 |
75bbc72c5361693e419d75af5b438412
|
|
| BLAKE2b-256 |
e6aea25cb078821f3b9e18fc959fc151d8577843c09a1a76dd562c9f35a10d8b
|