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.4.tar.gz (15.4 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.4-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plico_interferometer-0.1.4.tar.gz
  • Upload date:
  • Size: 15.4 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.4.tar.gz
Algorithm Hash digest
SHA256 773b1cb2885ff23d4833407fdb204efd77c4d95107438cd4ba1cf64d1ff1939f
MD5 f1dd78d7cafd2d26993c693e715448e8
BLAKE2b-256 0279e90a43e39105561e3d3ad40d8c791921cb74a58ac179cfd090f920576bc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plico_interferometer-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3780a0fc21225560a226cf0c376f48a9a92bcc0de84f5e5a4e751907ee7ede62
MD5 2a43dcfdb80a9000cf864bf2af5b5130
BLAKE2b-256 2323b0b2a5c842538c2b416ac3ea838e031b498405f8101673b4abee838a6403

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