orangecontrib.tomwer.widgets.reconstruction.NabuVolumeOW.NabuVolumeOW#

class orangecontrib.tomwer.widgets.reconstruction.NabuVolumeOW.NabuVolumeOW(*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', ...)#
class Outputs#
data = Output(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, ...)#
data_portal_processed_datasets = Output(name='data_portal_processed_datasets', type=<class 'tuple'>, ...)#
future_out = Output(name='future_tomo_obj', type=<class 'tomwer.core.futureobject.FutureTomwerObject'>, ...)#
volume = Output(name='volume', type=<class 'tomwer.core.volume.volumebase.TomwerVolumeBase'>, ...)#
volume_urls = Output(name='volume urls', type=<class 'tuple'>, ...)#
TIMEOUT = 30#
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 on a volume'#

Short widget description, displayed in canvas help tooltips.

ewokstaskclass#

alias of NabuVolumeTask

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

Widget icon path, relative to the defining module.

id = 'orange.widgets.tomwer.reconstruction.NabuVolumeOW.NabuVolumeOW'#
keywords: Union[str, List[str]] = ['tomography', 'nabu', 'reconstruction', 'volume']#

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

name: str = 'nabu volume reconstruction'#

Widget name, as presented in the Canvas.

priority: int = 15#

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)

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)