tomwer.gui.control.observations.ScanObservation#

class tomwer.gui.control.observations.ScanObservation(parent)#

Widget displayed the on-going observations (done by the data-listener)

For each scan on-going we can display the following information: * time (when the scan has been discovered) * type: HDF5 or EDF * N projections: number of projections already acquired (a) * status of the scan (starting, on-going…) * acquisition: id of the scan (entry and data path in case of HDF5 scan)

  1. the GUI was set up to display this information. Nevertheless this information is not provided by the rpc-call so this was never used.

Context: when the ‘data listener’ gets triggered by bliss-tomo then we want to notify the user that a new scan is on-going.

HEADER = ('Time', 'Type', 'N Projections', 'Status', 'Acquisition')#
addObservation(scan)#
Parameters:

scan – the scan observed

clear()#
property onGoingObservations#
removeObservation(scan)#
Parameters:

scan – the scan removed

setOnGoingObservations(onGoingObservations)#

will update the table to display the observations contained in onGoingObservations

Parameters:

onGoingObservations – the obsevations observed to display

update(scan, status)#
Parameters:
  • scan – the updated scan

  • status – the status of the updated scan