orangecontrib.tomwer.widgets.control.DataListenerOW.DataListenerOW#

class orangecontrib.tomwer.widgets.control.DataListenerOW.DataListenerOW(*args, captionTitle=None, **kwargs)#

This widget is used to listen to a server notifying the widget when an acquisition is finished. Then the bliss file will be converted to .nx file, NXtomo compliant.

class Outputs#
data = Output(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, ...)#
activate(activate=True)#

activate or deactivate the thread. When deactivate call join and delete the thread

Parameters:

activate

close(self) bool#
create_listening_thread()#

Procedure to create the listening thread :return: listening thread

delete_listening_thread()#

Procedure to delete the listening thread

description: str = 'The widget will receive information from bliss acquisition and wait for acquisition to be finished. Once finished it will call nxtomomill to convert from bliss .hdf5 to NXtomo compliant .nx file'#

Short widget description, displayed in canvas help tooltips.

ewokstaskclass#

alias of _DataListenerTaskPlaceHolder

getHost()#

Return server host

getNXTomomillConfiguration()#
getPort()#

Return server port

handleSigTerm(signo, *args, **kwargs)#
icon: str = 'icons/datalistener.svg'#

Widget icon path, relative to the defining module.

id = 'orangecontrib.widgets.tomwer.control.DataListenerOW.DataListenerOW'#
keywords: Union[str, List[str]] = ['tomography', 'file', 'tomwer', 'listener', 'datalistener', 'hdf5', 'NXtomo']#

Widget keywords, used for finding it in the quick menu.

name: str = 'scan listener'#

Widget name, as presented in the Canvas.

priority: int = 10#

Widget priority, used for sorting within a category.

resizing_enabled = True#

Should the widget’s window be resizeable? (if not, the widget will derive a fixed size constraint from its layout)

setMock(mock, acquisitions)#
settingsHandler: SettingsHandler = <orangewidget.settings.SettingsHandler object>#

Settings handler, can be overridden for context handling.

want_control_area = False#

Should the widget construct a controlArea?

want_main_area = True#

Should the widget construct a mainArea? (a resizable area to the right of the controlArea)