Mc Near Absorption Correction¶
Description¶
McNears absorption correction, takes in a normalised absorption sinogram and xrf sinogram stack.
Parameters
in_datasets:
visibility: datasets
dtype: "[list[],list[str]]"
description: A list of the dataset(s) to process.
default: "['xrf', 'stxm']"
out_datasets:
visibility: datasets
dtype: "[list[],list[str]]"
description:
summary: A list of the dataset(s) to create.
verbose: A list of strings, where each string is a name to be assigned to a dataset output by the plugin. If there is only one input dataset and one output dataset and the list is left empty, the output will take the name of the input dataset. The length of the list is the number of output datasets created by the plugin.
default: "[]"
azimuthal_offset:
visibility: basic
dtype: float
description: Angle between detectors.
default: "-90.0"
density:
visibility: intermediate
dtype: float
description: The density
default: "3.5377"
compound:
visibility: intermediate
dtype: str
description: The compound
default: Co0.1Re0.01Ti0.05(SiO2)0.84
Key
visibility: The visibility level of the parameter
dtype: The type of data
description: A short explanation of the parameter
default: The default value
options: A list of permitted values
dependency: The name of the parameter and value which this parameter depends upon
range: A guide for the range of the parameter
Citations
No citations
API
-
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.