orangecontrib.tomwer.widgets.reconstruction.CastNabuVolumeOW.CastNabuVolumeOW#
- class orangecontrib.tomwer.widgets.reconstruction.CastNabuVolumeOW.CastNabuVolumeOW(*args, **kwargs)#
widget used to cast from 32 bits tiff to 16 bits tiff.
This is done in a separate process because:
this is done in cpu when nabu reconstruct on GPU and this should free sooner GPU resources with the current architecture.
this is not included in nabu but also done as post processing.
limitation is that not having computed the histogram during volume construction will slow down the cast
- Parameters:
parent – the parent widget
- 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_data', ...)#
- volume = Input(name='volume', type=<class 'tomwer.core.volume.volumebase.TomwerVolumeBase'>, handler='process_volume', ...)#
- class Outputs#
- cast_volume = Output(name='cast volume', type=<class 'tomwer.core.volume.volumebase.TomwerVolumeBase'>, ...)#
- data = Output(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, ...)#
- future_tomo_obj = Output(name='future_tomo_obj', type=<class 'tomwer.core.futureobject.FutureTomwerObject'>, ...)#
- volume = Output(name='volume', type=<class 'tomwer.core.volume.volumebase.TomwerVolumeBase'>, ...)#
- TIMEOUT = 30#
-
description:
str
= 'This widget will allow to cast a nabu volume data type / format to another one.'# Short widget description, displayed in canvas help tooltips.
- ewokstaskclass#
alias of
CastVolumeTask
- getConfiguration()#
- Return type:
dict
-
icon:
str
= 'icons/nabu_cast.svg'# Widget icon path, relative to the defining module.
- id = 'orange.widgets.tomwer.reconstruction.CastNabuVolumeOW.CastNabuVolumeOW'#
-
keywords:
Union
[str
,List
[str
]] = ['tomography', 'nabu', 'reconstruction', 'volume', 'cast', 'tiff', '32 bits', '16 bits', 'tif']# Widget keywords, used for finding it in the quick menu.
-
name:
str
= 'cast volume'# Widget name, as presented in the Canvas.
-
priority:
int
= 60# Widget priority, used for sorting within a category.
- process_data(value)#
- process_volume(value)#
- reprocess(*, origin=<function CastNabuVolumeOW.reprocess>)#
Implementation of docstring decorator.
It patches dest.__doc__.
- 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(configuration)#
- Return type:
None
-
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)