pwspy.utility.reflection.extraReflectance.getAllCubeCombos(matCombos, df)[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.

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

  • df (DataFrame) – A Pandas DataFrame containing a ‘material’ column of the materials, and a ‘cube’ column containing the associated ImCube

Return type

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


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