punpy.digital_effects_table.measurement_function_utils.MeasurementFunctionUtils.find_comps#
- MeasurementFunctionUtils.find_comps(form, dataset, var, store_unc_percent=False, ydims=None)[source]#
Function to find the components corresponding to provided uncertainty form (name or type).
- Parameters:
form (str) – name or type of uncertainty component
dataset (xarray.dataset) – dataset being querried
var (str) – variable for which uncertainty components are being listed.
store_unc_percent (bool (optional)) – Boolean defining whether relative uncertainties should be returned or not. Default to True (relative uncertaintie returned)
ydims (list(str)) – list of dimensions of the measurand, in correct order.
- Returns:
list of names of uncertainty components
- Return type:
list(str)