-
class
DistortionCorrection
[source] -
executive_summary
()[source] Provide a summary to the user for the result of the plugin.
- e.g.
Warning, the sample may have shifted during data collection
Filter operated normally
- Returns
A list of string summaries
-
load_metadata_txt
(file_path)[source] Load distortion coefficients from a text file. Order of the infor in the text file: xcenter ycenter factor_0 factor_1 factor_2 …
- Parameters
file_path (str) – Path to the file
- Returns
Tuple of (xcenter, ycenter, list_fact).
- Return type
tuple of float and list of floats
-
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).
-