pytomography.callbacks.callback
#
Module Contents#
Classes#
Abstract class used for callbacks. Subclasses must redefine the |
- class pytomography.callbacks.callback.CallBack#
Abstract class used for callbacks. Subclasses must redefine the
__init__
andrun
methods. If a callback is used as an argument in an iterative reconstruction algorihtm, the__run__
method is called after each subiteration.- abstract run(obj)#
Abstract method for
run
.- Parameters:
obj (torch.tensor[batch_size, Lx, Ly, Lz]) – An object which one can compute various statistics from.