Skip to main content

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.

Release files for plico-interferometer 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plico-interferometer 0.1.4
File Size Uploaded
plico_interferometer-0.1.4.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plico-interferometer 0.1.4
File Interpreter ABI Platform
plico_interferometer-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 27.9 kB

Release files / plico_interferometer-0.1.4.tar.gz

Download URL plico_interferometer-0.1.4.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
773b1cb2885ff23d4833407fdb204efd77c4d95107438cd4ba1cf64d1ff1939f
BLAKE2b-256 checksum
How to use checksums
0279e90a43e39105561e3d3ad40d8c791921cb74a58ac179cfd090f920576bc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release files / plico_interferometer-0.1.4-py3-none-any.whl

Download URL plico_interferometer-0.1.4-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3780a0fc21225560a226cf0c376f48a9a92bcc0de84f5e5a4e751907ee7ede62
BLAKE2b-256 checksum
How to use checksums
2323b0b2a5c842538c2b416ac3ea838e031b498405f8101673b4abee838a6403
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page