tomwer.core.process.reconstruction.darkref.darkrefs.DarkRefsTask#

class tomwer.core.process.reconstruction.darkref.darkrefs.DarkRefsTask(process_id=None, varinfo=None, inputs=None, node_id=None, node_attrs=None, execinfo=None)#

Compute median/mean dark and ref from originals (dark and ref files)

TOMO_N = 'TOMO_N'#
VALID_WHAT = ('refs', 'dark')#

Tuple of valid option for What

WHAT_DARK = 'dark'#
WHAT_REF = 'refs'#
compute(scan, target, method, overwrite)#
static definition()#

definition of the process

static getDarkHSTFiles(directory, prefix, file_ext='.edf')#
Returns:

the list of existing refs files in the directory according to the file pattern.

static getDarkPatternTooltip()#
static getRefHSTFiles(directory, prefix, file_ext='.edf')#
Returns:

the list of existing refs files in the directory according to the file pattern.

static getRefPatternTooltip()#
info_suffix = '.info'#
static program_name()#

Name of the program used for this processing

static program_version()#

version of the program used for this processing

static properties_help()#
Returns:

display the list of all managed keys and possible values

property recons_params#
run()#

To be implemented by the derived classes

setForceSync(b)#
setPatternRecons(pattern)#
set_configuration(properties)#
set_recons_params(recons_params)#