Пример #1
0
    pathDict = dfa2Aimec.dfaBench2Aimec(avaDir, cfgAimec, simNameRef,
                                        simNameComp)
    pathDict['numSim'] = len(pathDict['ppr'])
    log.info('reference file comes from: %s' % pathDict['compType'][1])

    # Extract input file locations
    pathDict = aimecTools.readAIMECinputs(avaDir,
                                          pathDict,
                                          dirName=simNameComp)

    # perform analysis
    rasterTransfo, newRasters, resAnalysis = ana3AIMEC.AIMEC2Report(
        pathDict, cfgAimec)

    # add aimec results to report dictionary
    reportD, benchDict = ana3AIMEC.aimecRes2ReportDict(
        resAnalysis, reportD, benchDict, pathDict['referenceFile'])
    # +++++++++++Aimec analysis

    # Create plots for report
    # Load input parameters from configuration file
    cfgRep = cfgUtils.getModuleConfig(generateCompareReport)

    # REQUIRED+++++++++++++++++++
    # Which parameter to filter data, e.g. varPar = 'simType', values = ['null'] or
    # varPar = 'Mu', values = ['0.055', '0.155']; values need to be given as list, also if only one value
    outputVariable = ['ppr', 'pfd', 'pfv']
    plotListRep = {}
    reportD['Simulation Difference'] = {}
    reportD['Simulation Stats'] = {}
    # ++++++++++++++++++++++++++++
Пример #2
0
            pathDict['numSim'] = len(pathDict['ppr'])
            log.info('reference file comes from: %s' % pathDict['compType'][1])

            # Extract input file locations
            pathDict = aimecTools.readAIMECinputs(
                avaDir,
                pathDict,
                dirName=reportDcom1DFAOrig['simName']['name'])

            # perform analysis
            rasterTransfo, newRasters, resAnalysis = ana3AIMEC.AIMEC2Report(
                pathDict, cfgAimec)

            # add aimec results to report dictionary
            reportDcom1DFA, reportDcom1DFAOrig = ana3AIMEC.aimecRes2ReportDict(
                resAnalysis, reportDcom1DFA, reportDcom1DFAOrig,
                pathDict['referenceFile'])

            # Create plots for report
            # Load input parameters from configuration file
            cfgRep = cfgUtils.getModuleConfig(generateCompareReport)
            cfgRep['PLOT']['refModel'] = 'dfa'

            # REQUIRED+++++++++++++++++++
            # Which parameter to filter data, e.g. varPar = 'simType', values = ['null'] or
            # varPar = 'Mu', values = ['0.055', '0.155']; values need to be given as list, also if only one value
            outputVariable = ['ppr', 'pfd', 'pfv']
            values = simType
            parameter = 'simType'
            plotListRep = {}
            reportDcom1DFA['Simulation Difference'] = {}