tomwer.tasks.reconstruction.reducedarkflat.ReduceDarkFlatTask#

class tomwer.tasks.reconstruction.reducedarkflat.ReduceDarkFlatTask(*args, **kwargs)#

Compute reduced darks and flats from raw frames.

This is simply calling numpy.method or picking a single frame of the stack.

Warning

If the darks or the flat is not computing then reduced_darks or reduced_flats will be None

compute(scan, target, method, overwrite)#

Compute the reduced frame of a specific target (dark or flat)

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

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

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

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

info_suffix = '.info'#
run()#

To be implemented by the derived classes