orangecontrib.tomwer.widgets.reconstruction.DarkRefAndCopyOW.DarkRefAndCopyOW#

class orangecontrib.tomwer.widgets.reconstruction.DarkRefAndCopyOW.DarkRefAndCopyOW(parent=None, reconsparams=None)#

A simple widget managing the copy of an incoming folder to an other one

Parameters:

parent – the parent widget

class Inputs#
data = Input(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, handler='process', ...)#
reduced_darks = Input(name='reduced dark(s)', type=<class 'dict'>, handler='received_reduced_darks', ...)#
reduced_flats = Input(name='reduced flat(s)', type=<class 'dict'>, handler='received_reduced_flats', ...)#
class Outputs#
data = Output(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, ...)#
reduced_darks = Output(name='reduced dark(s)', type=<class 'dict'>, ...)#
reduced_flats = Output(name='reduced flat(s)', type=<class 'dict'>, ...)#
close(self) bool#
description: str = 'This widget will generate reduced darks and flats for a received scan '#

Short widget description, displayed in canvas help tooltips.

ewokstaskclass#

alias of DarkRefsCopy

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

Widget icon path, relative to the defining module.

id = 'orange.widgets.tomwer.darkrefs'#
keywords: Union[str, List[str]] = ['tomography', 'dark', 'darks', 'ref', 'refs', 'flat', 'flats']#

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

name: str = 'reduced darks and flats'#

Widget name, as presented in the Canvas.

priority: int = 15#

Widget priority, used for sorting within a category.

process(value, id=None)#
received_reduced_darks(value)#
received_reduced_flats(value)#
property recons_params#
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)

setReducedDarks(darks)#
setReducedFlats(flats)#
settingsHandler: SettingsHandler = <orangewidget.settings.SettingsHandler object>#

Settings handler, can be overridden for context handling.

sigScanReady#

Signal emitted when a scan is ready

signalReady(scanID)#
want_main_area = True#

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