tomwer.tasks.visualization.volume_viewer.VolumeViewerTask#

class tomwer.tasks.visualization.volume_viewer.VolumeViewerTask(inputs=None, varinfo=None, node_id=None, node_attrs=None, execinfo=None, profile_directory=None)#

Function loading a three slices into each direction and volume metadata and create a ‘summary’ of the reconstructed volume

N_SLICES_PER_AXIS = 3#
get_slices_to_extract()#

Return the indices of the slices to extract on each axis (N_SLICES_PER_AXIS on each axis).

return tuple (A) is a two elements tuple. First element if the axis (B). Second is the tuple of indices to extract along the axis (B) indices are equally spaced in each dimensions

Return type:

tuple[tuple[int, tuple[int]]]

run()#

To be implemented by the derived classes