class StageMotion[source]
MEAN_INDEX = 0
NUM_DATASETS = 1
NUM_OUTPUT_Q_VARS = 9
nInput_datasets()[source]

The number of datasets required as input to the plugin

Returns

Number of input datasets

nOutput_datasets()[source]

The number of datasets created by the plugin

Returns

Number of output datasets

post_process()[source]

This method is called after the process function in the pipeline framework as a post-processing step. All processes will have finished performing the main processing at this stage.

Parameters

exp (experiment class instance) – An experiment object, holding input and output datasets

pre_process()[source]

This method is called immediately after base_pre_process().

process_frames(data)[source]

This method is called after the plugin has been created by the pipeline framework and forms the main processing step

Parameters

data (list(np.array)) – A list of numpy arrays for each input dataset.

setup()[source]

This method is first to be called after the plugin has been created. It determines input/output datasets and plugin specific dataset information such as the pattern (e.g. sinogram/projection).