- class lima2.client.Detector
The main Detector interface.
Public members¶
-
DEFAULT_TANGO_TIMEOUT =
1200
Info¶
- property version : dict
A dict containing the system version information
- property det_info : dict
A dict containing the detector static information such as make, model, serial number, detector and pixel dimensions…
- property det_capabilities : dict
A dict containing the detector capabilities…
Status¶
- property det_status : dict
A dict containing the detector health information such as make, model, serial number, detector and pixel dimensions…
- ping()
Ping all the devices of the system.
- property nb_frames_acquired : int
The number of acquired frames (on the detector side).
- property nb_frames_xferred : list[int]
The number of frames transferred (across all receivers).
Parameters¶
- property params_schema
Returns JSON schemas of init, acquisition and processing parameters.
- property params_default : dict
Returns a set of parameters with default values for init, acquisition and processing parameters.
- property ctrl_params
Returns the current set of control params
- property acq_params
Returns the current set of receiver params
- property proc_params
Returns the current set of processing params
Devices¶
- property devs : list(tango.DeviceProxy)
The list of all the Tango devices.
- property ctrl : DeviceProxy
The control Tango device.
- property recvs : list(tango.DeviceProxy)
The receiver Tango devices.
State¶
- sync_hard()
Synchronize the current state of the client with the server states.
- property dev_states
A list of the individual states of the devices.
- register_transition_logger(logger)
Register a logger function to be notified on FSM transition.
- unregister_transition_logger(logger)
Unregister a given transition logger function.
Control¶
- prepare_acq(uuid, ctrl_params, acq_params, proc_params)
Prepare the acquisition with a given UUID.
- start_acq()
Start acquisition.
- trigger()
Software trigger.
- stop_acq()
Stop acquisition.
- reset_acq()
Reset acquisition when the detector is in State.FAULT state
Processing¶
- get_pipeline(uuid)
Returns a Pipeline proxy given a uuid. Example:
- erase_pipeline(uuid)
Erase a pipeline instance and cleanup.
- property pipelines : [uuid.UUID]
A list of available pipelines UUID
- property current_pipeline
Returns the current pipeline or None if no pipeline was created yet
- property recv_processings : list[Processing]
A list (one item per receiver) of dict of available processing classes and their params schema
- register_on_pipelines_change(cbk)
Register a callback function to be notified on pipeline instances creation / destruction
-
DEFAULT_TANGO_TIMEOUT =