pwspy.utility.reflection.extraReflectance.getAllCubeCombos

pwspy.utility.reflection.extraReflectance.getAllCubeCombos(matCombos, cubeDict)[source]

Given a list of material combo tuples, return a dictionary whose keys are the material combo tuples and whose values are lists of CubeCombos.

Parameters
  • matCombos (Iterable[Tuple[Material, Material]]) – A list of material combinations, most likely generated by generateMaterialCombos

  • cubeDict (Dict[Material, List[PwsCube]]) – An dictionary containing lists of a PwsCube measuremnts keyed by the material they were measured at.

Return type

Dict[Tuple[Material, Material], List[CubeCombo]]

Returns

A dictionary with a key for each material combination. Each value is a list of all the CubeCombo`s extracted from `cubes.