Skip to main content

This package is a python interface for laboratory adaptive optics systems, with a focus on the calibration of deformable mirrors (DMs) and the acquisition of wavefront data using interferometers.

Project description

OptiCalib : adaptive OPTics package for deformable dirrors CALibration

GitHub Actions Workflow Status

Adaptive Optics Group, INAF - Osservatorio Astrofisico di Arcetri

OptiCalib is a python package which first goal is to make easy deformable mirror's calibration in the laboratory (and not only).

It was born as a general extrapolation of the software built for the control and calibration of the ELT @ M4 adaptive mirror and it's calibration tower, OTT (Optical Test Tower).

Description

The OPTICALIB package serves two main purposes:

  • Making connection to the hardware (interferometers, DMs, ...) easy;

  • Providing routines for Deformable Mirrors calibrations.

It can be installed from the repository, while waiting for an official release, as

pip install git+"https://github.com/pietroferraiuolo/labott.git"

The software will create an entry point script called calpy, which is usefull to set up a specific experiment's environment. Let's say we have an optical bench composed of an interferometer 4D PhaseCam6110 and an Alpao Deformable mirror, say DM820. We can create the experiment's environment just like:

calpy -f ~/alpao_experiment --create

This will create, in the ~/alpao_experiment folder, the package's data folder tree, together with a configuration file in the SysConfig folder. The configuration file, documented here, is where all devices must be specified.

Once done with the configuration, we can then start using out instruments:

calpy -f ~/alpao_experiment
# The `calpy` function will automatically import opticalib (with `opt` as alias), as well as the `opticalib.dmutils` as dmutils

interf = opt.PhaseCam(6110) # set in the configuration file
dm = opt.AlpaoDm(820)       # set in the configuration file

# Having the bench set up and the configuration file set, we can acquire an Influence Function by just doing

tn = dmutils.iff_module.iffDataAcquisition(dm, interf) # Optional paramenters are `modesList, modesAmplitude, template`, which if not specified are read from the configuration file

Documentation

For the API references, check here (work in progress...), while for the configuration file documentation check here

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

opticalib-1.0.0.tar.gz (120.0 kB view details)

Uploaded Source

Built Distribution

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

opticalib-1.0.0-py3-none-any.whl (140.9 kB view details)

Uploaded Python 3

File details

Details for the file opticalib-1.0.0.tar.gz.

File metadata

  • Download URL: opticalib-1.0.0.tar.gz
  • Upload date:
  • Size: 120.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for opticalib-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5e5563fe37996878c87b87e3e49cc05cea33ec4ee1c541bd0d9032902adbe0a3
MD5 a61470bb02242694f87989070d473d05
BLAKE2b-256 6f7ad7b7751cef51bfce1d47eb0da4b782356cc9b8fe9c852f8d1080cb7d94e6

See more details on using hashes here.

File details

Details for the file opticalib-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: opticalib-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 140.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for opticalib-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19ed231fea8f9345dbc2f4686d9ad1db54f99c0fc35c9ba2f7c1d237073b4656
MD5 596677cee1f3b0dfcd4a2e62f1cfac31
BLAKE2b-256 1f631b54b0ec7d14c5b01159771c4ce95687decb0587587f7d2355f79f9adaa3

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