ana3AIMEC.aimecTools.analyzeArea

analyzeArea(rasterTransfo, resAnalysisDF, simName, newRasters, cfgSetup, pathDict)[source]

Compare results to reference.

Compute True positive, False negative… areas.

Parameters
  • rasterTransfo (dict) – transformation information

  • resAnalysisDF (dataFrame) – dataFrame containing Aimec results to update

  • simName (str) – simulation Name

  • newRasters (dict) – dict with tranformed raster for reference and curent simulation

  • cfgSetup (confiParser) – numerical value of the limit to use for the runout computation as well as the levels for the contour line plot

  • pathDict (dict) – path to data dem data and lines for aimec analysis

Returns

resAnalysisDF

dataFrame containing Aimec results updated with:
TP: float

ref = True sim2 = True

FN: float

ref = False sim2 = True

FP: float

ref = True sim2 = False

TN: float

ref = False sim2 = False

Return type

dataFrame