ana3AIMEC.aimecTools.checkAIMECinputs

checkAIMECinputs(cfgSetup, pathDict, inputsDF)[source]

Check inputs before running AIMEC postprocessing

Make sure that the available data satisfies what is required in the ini file. Uses per-row resolution to validate that base resType names are available for all simulations (handling both single-layer and multi-layer results). Errors if multi-layer data is detected but no runoutLayer is specified.

Parameters
  • cfgSetup (configParser) – aimec configuration, reads runoutResType, resTypes and runoutLayer

  • pathDict (dict) – aimec input dictionary (path to inputs and refSimName and hash)

  • inputsDF (pandas DataFrame) – simulation dataframe with resType columns

Returns

pathDict – aimec input dictionary updated with: - resTypeList: set of base result type names to analyze - runoutResType: base runout result type name - runoutLayer: layer identifier for downstream resolution - displayRunoutResType: display name for plot titles

Return type

dict