Skip to main content

interferometer controller with PLICO

Project description

plico_interferometer

client of an interferometer controlled under the plico environment

How to use it

Server/client

Before using the client, it is necessary to start the server on the interferometer machine. On the client side, in order to use the interferometer, installation of the plico_interferometer package is required. The steps required for the startup are

  • Have a Python working environment (no specific version is required, but preferably higher than 3)

  • Install the Python library using the command pip install plico_interferometer

  • Open a terminal and execute the following commands

import plico_interferometer
interf = plico_interferometer.interferometer(hostServer, portServer)
  • Use standard command as interf.wavefront(n_images)

  • For burst acquisition (implemented only for interferometers using WCF) use the command interf.burst_and_return_average(n_images, timeout).

    NOTE: in this case it is necessary to specify the timeout time (expressed in seconds) as the standard of 10s is usually not sufficient for the acquisition of more than a dozen images.

Direct connection with WCF 4D

To connect to 4Ds with WCF (such as the 6110), for which it is not strictly necessary to have a plico server because the 4D SW itself implements a server and responds to json requests, it is possible to follow this steps directly from the client

  • Have a Python working environment (no specific version is required, but preferably higher than 3)

  • Install the Python library using the command pip install plico_interferometer

  • Open a terminal and execute the following commands

import plico_interferometer
interf = plico_interferometer.interferometer_4SightFocus_client(ip, port)
  • Use standard command as interf.wavefront(n_images)

If you want to use the burst frame acquisition option you have to use the standard server/client structure: please refer to the previous paragraph.

Python package codecov Documentation Status PyPI version

plico_interferometer is an application to control motors under the plico environment.

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

plico_interferometer-0.1.3.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

plico_interferometer-0.1.3-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file plico_interferometer-0.1.3.tar.gz.

File metadata

  • Download URL: plico_interferometer-0.1.3.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for plico_interferometer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2fa797d6530c043c1377c3fb4dae0a54362579abd807e0a3478131f8855ede9d
MD5 07929f783bd1e5b3bee856811500cf9e
BLAKE2b-256 f95e74f8ecc1e8bd899a8641aa4a3c7539988728844f4aca15d6f1d04b857552

See more details on using hashes here.

File details

Details for the file plico_interferometer-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for plico_interferometer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dba9cc815560118bdfa0f71e3a3bd4e858fb018b82c2edd32014299696a50b94
MD5 4aa313f490cd8a6ee4245185763de018
BLAKE2b-256 9a970e84f6deb3f55d090b9229797ad21002ec46f62abd3b365463c2391a811e

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