class McNearAbsorptionCorrection[source]

McNears absorption correction, takes in a normalised absorption sinogram and xrf sinogram stack.

Parameters

in_datasets – A list of the dataset(s) to process. Default: [‘xrf’,’stxm’].

correct_sino(Ti_ratio, FFI0_Ti, absorption)[source]
get_exponent_Ti_mu(Ti_ratio, absorption, trans_ave_array)[source]
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.