pytomography.callbacks.callback#

Module Contents#

Classes#

CallBack

Abstract class used for callbacks. Subclasses must redefine the __init__ and run methods. If a callback is used as an argument in an iterative reconstruction algorihtm, the __run__ method is called after each subiteration.

class pytomography.callbacks.callback.CallBack#

Abstract class used for callbacks. Subclasses must redefine the __init__ and run 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.