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.2.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plico_interferometer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b4d68041f4dd26f8d9084ea4cb750886fe4825c21dd7837daf1258bae4fc2812
MD5 02cd62b3d546c764bb6b36b195145e3d
BLAKE2b-256 5b347c9d3687ac31dee7e9af4da09c92d41a0976f615a68851bc326bf9c3b0d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plico_interferometer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cde7dd2d9b2d6cd9c8722f0a41c117d9ed19f6c64eff57b710bc62d7f2628e2f
MD5 28b237922a7d4bc6123af1648157527d
BLAKE2b-256 7fe50ed966d52c8604fe35d19b7bddfb58e7d39c56f672bcf0d143da615bc812

See more details on using hashes here.

Supported by

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