ewoksfluo.tasks.normalization.norm_utils.compute_normalized_xrf_results#
- ewoksfluo.tasks.normalization.norm_utils.compute_normalized_xrf_results(xrf_results_uri, coefficient)[source]#
Compute the normalized peak areas, associated uncertainties and mass fractions.
For elemental peak areas
\[A(\mathrm{Fe}) = C \cdot A(\mathrm{Fe})\]For their uncertainties
\[\sigma_{A}(\mathrm{Fe}) = C \cdot \sigma_{A}(\mathrm{Fe}) }\]- Parameters:
xrf_results_uri (
str
) – HDF5 group that contains the “parameters”, “uncertainties” and “massfractions” groups.coefficient (
ndarray
) – Coefficient with which to normalize the data.
- Return type:
Tuple
[Dict
[str
,ndarray
],Dict
[str
,ndarray
],Dict
[str
,ndarray
]]- Returns:
normalized peak areas, associated uncertainties, normalized weight fractions