Skip to main content

Python package for controlling optical test bench equipment in kernel-nulling interferometry

Project description

PHOBos - Photonics Bench Operating System

This repo aim to provide a full set of tools to control all the devices on the Kernel-Nuller test bench.

⚠️ Important: This package is designed to run on the PHOTONICS lab PC with specific hardware (BMC deformable mirror, Thorlabs filter wheel, Newport/Zaber motors, C-RED3 camera). Outside this environment, the library will automatically enter sandbox mode and simulate missing components with mock interfaces. See the installation guide for proper lab PC setup.

🚀 Quickstart

Requirements:

Lab PC Installation (with hardware)

For the lab PC with all hardware connected, follow the complete installation guide.

Quick version:

pip install -r requirements-lab.txt
pip install -e .

Development/Sandbox Installation (without hardware)

For development or testing without hardware access:

pip install -e .

The package will automatically detect missing hardware and run in sandbox mode with mock interfaces.

📚 Documentation

The documentation should be available at the adress: phob.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

phob-0.9.0.tar.gz (189.8 kB view details)

Uploaded Source

Built Distribution

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

phob-0.9.0-py3-none-any.whl (205.4 kB view details)

Uploaded Python 3

File details

Details for the file phob-0.9.0.tar.gz.

File metadata

  • Download URL: phob-0.9.0.tar.gz
  • Upload date:
  • Size: 189.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for phob-0.9.0.tar.gz
Algorithm Hash digest
SHA256 467113d7dc2de9ef7e173ea9685a139c5678801115b64e96a9306f8f94aa3b44
MD5 445e7760f793c33ea4726a4c3676abfa
BLAKE2b-256 db7258dae127acf539c61e868814e04c4b8f25ffc84296c32968055d3dc379de

See more details on using hashes here.

File details

Details for the file phob-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: phob-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 205.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for phob-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86666ddf8fb2f4ccbb96868920b5bcd445a685b539145999985206c22d5107ce
MD5 7346fed900539b4d30d2f7cfcd2a49a7
BLAKE2b-256 cd774442e953faf629fe89ed342ad155bb3cb311bed384be1568dbd289d8b80b

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