Skip to main content

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:

Option 1: Installation with Conda (recommended)

  1. Create and activate the conda environment

    conda env create -f environment.yml
    conda activate kbench-controls
    
  2. Start a Python instance

    python
    

    And import the kbench module

    import kbench
    

Option 2: Installation with pip

  1. (Recommended) Create a virtual environment

    python3.12 -m venv .venv
    

    and activate it

    source .venv/bin/activate # Linux
    .venv/Scripts/activate # Windows
    
  2. Install the Python module

    pip install -r requirements.txt
    pip install -e .
    
  3. 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):

  1. Go in the docs folder
    cd docs
    
  2. Install the requirements (by preference, in a virtual environment)
    pip install -r requirements.txt
    
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kbench_controls-0.7.2.tar.gz (114.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kbench_controls-0.7.2-py3-none-any.whl (115.6 kB view details)

Uploaded Python 3

File details

Details for the file kbench_controls-0.7.2.tar.gz.

File metadata

  • Download URL: kbench_controls-0.7.2.tar.gz
  • Upload date:
  • Size: 114.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for kbench_controls-0.7.2.tar.gz
Algorithm Hash digest
SHA256 e2094f05df15d7d2078c150b640cab314bfd95ab5c47093b0d9278bd143c361c
MD5 34db4185800cc0442a212cd0903ca5b7
BLAKE2b-256 3d5c7c238f55a8f132b0dfc32c95b2750a4b0611522dc12cb97180023cba96a0

See more details on using hashes here.

File details

Details for the file kbench_controls-0.7.2-py3-none-any.whl.

File metadata

File hashes

Hashes for kbench_controls-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40e74e7e235b3709d91f7b77c7a88ac1d5e791dc544d6db309b27bd2f7bf130b
MD5 34241f8381e66bebb97a284233abaec1
BLAKE2b-256 e168768bb5fe248d5ec4b928970a0b1de953f5033f1b6bffaea0307c8b9ad4e3

See more details on using hashes here.

Supported by

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