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#
config_in = Input(name='configuration', type=<class 'dict'>, handler='setConfiguration', ...)#
data = Input(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, handler='process', ...)#
class Outputs#
data = Output(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, ...)#
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()#
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.

output_summaries: Dict[str, PartialSummary]#
priority: int = 25#

Widget priority, used for sorting within a category.

process(value)#
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(value)#
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)