ess.reduce.unwrap.to_wavelength.mask_large_uncertainty_in_lut#
- ess.reduce.unwrap.to_wavelength.mask_large_uncertainty_in_lut(table, error_threshold, component_name)[source]#
Mask regions in the lookup table with large uncertainty using NaNs.
- Parameters:
table (
LookupTable[TypeVar(RunType),TypeVar(Component)]) – Lookup table with time-of-flight as a function of distance and time-of-arrival.error_threshold (
unwrap.types.LookupTableRelativeErrorThreshold(dict)) – Threshold for the relative standard deviation (coefficient of variation) of the projected time-of-flight above which values are masked.component_name (
NeXusName[TypeVar(Component)]) – Name of the component for which to apply the error threshold. This is used to get the correct error threshold from the dictionary of error thresholds.
- Return type:
ErrorLimitedLookupTable[TypeVar(RunType),TypeVar(Component)]