client¶
Module contents¶
Submodules¶
plico_interferometer.client.interferometer_client module¶
- class plico_interferometer.client.interferometer_client.InterferometerClient(rpcHandler, sockets)¶
Bases:
AbstractInterferometerClient
,HackerableClient
,ServerInfoClient
- snapshot(prefix, timeout_in_sec=10.0)¶
- Parameters:
prefix (string) – prefix to be prepended to the snapshot dict
- Returns:
snapshot – snapshot of the device to be used as FITS header
- Return type:
dict
- status(timeout_in_sec=10.0)¶
- Returns:
status – status of the device
- Return type:
- wavefront(how_many=1, timeout_in_sec=10.0)¶
- Parameters:
how_many (int (default=1)) – return the average of how_many measurements.
- Returns:
wavefront – wavefront map in meters
- Return type:
array
plico_interferometer.client.abstract_interferometer_client module¶
- class plico_interferometer.client.abstract_interferometer_client.AbstractInterferometerClient¶
Bases:
object
- abstract snapshot(prefix='MY_4D')¶
- Parameters:
prefix (string) – prefix to be prepended to the snapshot dict
- Returns:
snapshot – snapshot of the device to be used as FITS header
- Return type:
dict
- abstract status()¶
- Returns:
status – status of the device
- Return type:
- abstract wavefront(how_many=1)¶
- Parameters:
how_many (int (default=1)) – return the average of how_many measurements.
- Returns:
wavefront – wavefront map in meters
- Return type:
array