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 'tomwer.core.scan.scanbase.TomwerScanBase'>, handler='data_ewoks_input_setter', ...)#
class Outputs#
data = Output(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, ...)#
data_ewoks_input_setter(value)#
default_inputs = Setting "None"#
description = '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()#

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

Return type:

dict

Returns:

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

icon = 'icons/patch_dark_flat.svg'#

Widget icon path, relative to the defining module.

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

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

name = 'dark-flat-patch'#

Widget name, as presented in the Canvas.

priority = 25#

Widget priority, used for sorting within a category.

reprocess(dataset)#

Reprocess a dataset.

Parameters:

dataset (Dataset) – dataset to reprocess

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

Settings handler, can be overridden for context handling.