orangecontrib.tomwer.widgets.reconstruction.CopyReducedDarkAndFlatOW.CopyReducedDarkAndFlatOW#
- class orangecontrib.tomwer.widgets.reconstruction.CopyReducedDarkAndFlatOW.CopyReducedDarkAndFlatOW(*args, captionTitle=None, **kwargs)#
Widget to copy reduced darks and flats to scans
- class Inputs#
- data = Input(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, handler='received_data', ...)#
- reduced_darks = Input(name='reduced_darks', type=<class 'tomwer.model.reconstruction.reduced_frames.ReducedFrames'>, handler='received_reduced_darks', ...)#
- reduced_flats = Input(name='reduced_flats', type=<class 'tomwer.model.reconstruction.reduced_frames.ReducedFrames'>, handler='received_reduced_flats', ...)#
- class Outputs#
- data = Output(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, ...)#
- clear_copied_urls()#
- default_inputs = Setting "None"#
- description = 'This widget will copy reduced darks and flats to scans'#
Short widget description, displayed in canvas help tooltips.
- ewokstaskclass#
alias of
CopyReducedDarkFlatTask
- handleNewSignals()#
in order to handle https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/60 we need to overwrite the Inputs.data and overwrite the ‘handleNewSignals’ function.
The Inputs.data is used to make sure the task is executed each time the value of a link is changed. The overwrite of handleNewSignals is to make sure we won’t trigger one extra time the widget.
- Return type:
None
- icon = 'icons/copy_darkflat.svg'#
Widget icon path, relative to the defining module.
- id = 'orange.widgets.tomwer.CopyReducedDarkAndFlatOW'#
- keywords = ['tomography', 'dark', 'darks', 'ref', 'refs', 'flat', 'flats', 'copy', 'force']#
Widget keywords, used for finding it in the quick menu.
- name = 'copy reduced darks and flats'#
Widget name, as presented in the Canvas.
- priority = 16#
Widget priority, used for sorting within a category.
- received_data(value)#
- received_reduced_darks(value)#
- received_reduced_flats(value)#
- setAutoMode(active)#
- Return type:
None
- settingsHandler = <orangewidget.settings.SettingsHandler object>#
Settings handler, can be overridden for context handling.