orangecontrib.tomwer.widgets.edit.NXtomoEditorOW.NXtomoEditorOW#

class orangecontrib.tomwer.widgets.edit.NXtomoEditorOW.NXtomoEditorOW(*args, captionTitle=None, **kwargs)#

Widget to edit manually a NXtomo

class Inputs#
data = Input(name='data', type=<class 'object'>, handler='data_ewoks_input_setter', ...)#
class Outputs#
data = Output(name='data', type=<class 'object'>, ...)#
data_ewoks_input_setter(value)#
default_inputs = Setting "None"#
description = 'Interface to edit manually a NXtomo'#

Short widget description, displayed in canvas help tooltips.

ewokstaskclass#

alias of NXtomoEditorTask

getConfiguration()#
Return type:

dict

get_task_inputs()#

Merge default and dynamic inputs producing the inputs mapping used by tasks.

Returns:

Mapping of input name -> Variable or value (may include missing markers).

handleNewSignals()#

Called by Orange after all signal handlers have run to set dynamic inputs.

Default implementation triggers task execution (with propagation).

Return type:

None

icon = 'icons/nx_tomo_editor.svg'#

Widget icon path, relative to the defining module.

id = 'orange.widgets.tomwer.edit.NXtomoEditorOW.NXtomoEditorOW'#
keywords = ['hdf5', 'nexus', 'tomwer', 'file', 'edition', 'NXTomo', 'editor', 'energy', 'distance', 'pixel size']#

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

name = 'nxtomo-editor'#

Widget name, as presented in the Canvas.

priority = 10#

Widget priority, used for sorting within a category.

setConfiguration(config)#
setScan(scan)#
settings = Setting "None"#
settingsHandler = <orangewidget.settings.SettingsHandler object>#

Settings handler, can be overridden for context handling.

sigScanReady#

emit when scan ready. Used for test only

sizeHint(self) QSize#
task_output_changed()#

Default callback invoked when task output changed.

Subclasses may override to react to this event.

Return type:

None