punpy.digital_effects_table.measurement_function_utils.MeasurementFunctionUtils.get_input_qty

punpy.digital_effects_table.measurement_function_utils.MeasurementFunctionUtils.get_input_qty#

MeasurementFunctionUtils.get_input_qty(*args, ydims=None, sizes_dict=None, expand=False)[source]#

Function to extract input quantities from datasets and return as list of arrays.

Parameters:
  • args (obsarray dataset(s)) – One or multiple digital effects tables with input quantities, defined with obsarray

  • ydims (list(str)) – list of dimensions of the measurand, in correct order.

  • sizes_dict (dict) – Dictionary with sizes of each of the dimensions of the measurand.

  • expand (bool) – boolean to indicate whether the input quantities should be expanded/broadcasted to the shape of the measurand.

Returns:

list of values (as np.ndarray) for each of the input quantites.

Return type:

list(np.ndarray)