- class lima2.client.Client
Lima2 user-facing client.
Public members¶
-
Client(ctl_dev, rcv_devs, tango_timeout_s=
10
) Construct a Client given tango device proxies.
-
classmethod from_yaml(config_filename=
'l2c_config.yaml'
)
- property control : DeviceProxy
Lima2 control tango device.
- property receivers : list[DeviceProxy]
Lima2 receiver tango devices.
- property detector : Detector
- prepare_acq(uuid, ctrl_params, acq_params, proc_params)
Prepare acquisition with a given uuid and set of params.
- property nb_frames_acquired : ProgressCounter
Number of frames acquired
- property nb_frames_xferred : ProgressCounter
Aggregated number of frames transferred
- property pipelines : list[UUID]
Get list of available pipelines UUID
- property current_pipeline : Pipeline
Return the current pipeline as a Pipeline object.
- erase_pipeline(uuid)
Erase a pipeline instance.
- clear_previous_pipelines()
Erase all pipelines except the current one.
- __repr__()
Return repr(self).
- __sizeof__()
Size of object in memory, in bytes.
Info¶
- property det_info : dict[str, Any]
A dict containing the detector static information such as make, model, serial number, detector and pixel dimensions…
- property det_capabilities : dict[str, Any]
A dict containing the detector capabilities…
Status¶
- property det_status : dict[str, Any]
A dict containing the detector health information such as make, model, serial number, detector and pixel dimensions…
State¶
Parameters¶
- property params_default : dict[str, Any]
Returns a set of parameters with default values for init, acquisition and processing parameters.
- property params_schema : dict[str, Any]
Returns JSON schemas of init, acquisition and processing parameters.
Control¶
- start_acq()
Start acquisition.
- trigger()
Software trigger.
- stop_acq()
Stop acquisition.
- reset_acq()
Reset acquisition when the detector is in State.FAULT state
-
Client(ctl_dev, rcv_devs, tango_timeout_s=