orangecontrib.tomwer.widgets.reconstruction.NabuOW.NabuOW#

class orangecontrib.tomwer.widgets.reconstruction.NabuOW.NabuOW(*args, **kwargs)#

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

Parameters:

parent – the parent widget

class DialogCM(dialogButtonsBox)#

Simple context manager to hide / show button dialogs

class Inputs#
cluster_in = Input(name='cluster_config', type=<class 'tomwer.core.cluster.cluster.SlurmClusterConfiguration'>, handler='setCluster', ...)#
data = Input(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, handler='process', ...)#
reprocess = Input(name='change recons params', type=<class 'tomwer.core.scan.scanbase._TomwerBaseDock'>, handler='reprocess', ...)#
class Outputs#
data = Output(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, ...)#
future_out = Output(name='future_tomo_obj', type=<class 'tomwer.core.futureobject.FutureTomwerObject'>, ...)#
slice_urls = Output(name='slice urls', type=<class 'tuple'>, ...)#
cancel(scan)#

cancel (abort) processing of given dataset. If dataset is empty then conside this is the current processing that must be cancelled

description: str = 'This widget will call nabu for running a reconstruction '#

Short widget description, displayed in canvas help tooltips.

ewokstaskclass#

alias of NabuSlicesTask

getConfiguration()#
icon: str = 'icons/nabu_2d.svg'#

Widget icon path, relative to the defining module.

id = 'orange.widgets.tomwer.reconstruction.NabuOW.NabuOW'#
keyPressEvent(event)#

The event has to be filtered since we have some children that can be edited using the ‘enter’ key as defining the cor manually (see #481)). As we are in a dialog this automatically trigger ‘accepted’. See https://forum.qt.io/topic/5080/preventing-enter-key-from-triggering-ok-in-qbuttonbox-in-particular-qlineedit-qbuttonbox/5

keywords: Union[str, List[str]] = ['tomography', 'nabu', 'reconstruction', 'FBP', 'filter']#

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

name: str = 'nabu slice reconstruction'#

Widget name, as presented in the Canvas.

priority: int = 12#

Widget priority, used for sorting within a category.

process(value, id=None)#
reprocess(value)#

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)

setCluster(value)#
setConfiguration(config)#
setDryRun(dry_run)#
settingsHandler: SettingsHandler = <orangewidget.settings.SettingsHandler object>#

Settings handler, can be overridden for context handling.

sigScanReady#

Signal emitted when a scan is ended

want_main_area = True#

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