ana3AIMEC.aimecTools.analyzeArea

analyzeArea(rasterTransfo, runoutLength, data, cfgSetup, cfgPath, cfgFlags)[source]

Compare results to reference.

Compute True positive, False negative… areas.

Parameters
  • rasterTransfo (dict) – transformation information

  • resAnalysis (dict) – resAnalysis dictionary containing all results to update

  • data (list) – list of transformed rasters

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

  • cfgPath (dict) – path to data to analyse

  • cfgFlags (configparser) – configparser with plot and write flags

Returns

  • TP (float) – ref = True sim2 = True

  • FN (float) – ref = False sim2 = True

  • FP (float) – ref = True sim2 = False

  • TN (float) – ref = False sim2 = False