orangecontrib.tomwer.widgets.edit.DarkFlatPatchOW.DarkFlatPatchOW#

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

Widget to define on the fly the image_key of a NXtomoScan

class Inputs#
data = Input(name='data', type=<class 'object'>, handler='data_ewoks_setter', ...)#
class Outputs#
data = Output(name='data', type=<class 'object'>, ...)#
data_ewoks_setter(value)#
default_inputs = Setting "None"#
description: str = 'Interface to patch dark and flat to an existing NXTomoentry'#

Short widget description, displayed in canvas help tooltips.

ewokstaskclass#

alias of DarkFlatPatchTask

getConfiguration()#
get_task_inputs()#

Default inputs overwritten by inputs from previous tasks

Return type:

dict

icon: str = 'icons/patch_dark_flat.svg'#

Widget icon path, relative to the defining module.

id = 'orange.widgets.tomwer.edit.DarkFlatPatchOW.DarkFlatPatchOW'#
keywords: Union[str, List[str]] = ['hdf5', 'nexus', 'tomwer', 'file', 'edition', 'NXTomo', 'editor', 'dark', 'patch', 'ref', 'flat']#

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

name: str = 'dark-flat-patch'#

Widget name, as presented in the Canvas.

priority: int = 25#

Widget priority, used for sorting within a category.

reprocess(dataset)#

Reprocess a dataset.

Parameters:

dataset (Dataset) – dataset to reprocess

resizing_enabled = True#

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

setConfiguration(config)#
settingsHandler: SettingsHandler = <orangewidget.settings.SettingsHandler object>#

Settings handler, can be overridden for context handling.

want_main_area = True#

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