ana4Stats.getStats.extractMaxValues

extractMaxValues(inputDir, cfgMain, avaDir, varPar, nameScenario='', parametersDict='')[source]

Extract max values of result parameters and save to dictionary

Parameters
  • inputDir (str) – path to directoy where peak files can be found

  • cfgMain (dict) – configuration used to perform simulations

  • avaDir (str) – path to avalanche directoy

  • varPar (str) – parameter that has been varied when performing simulations (for example relTh)

  • nameScenario (str) – parameter that shall be used for color coding of simulation results in plots (for example releaseScenario)

  • parametersDict (dict) – dictionary with parameter and parameter values to filter simulations

Returns

peakValues – dictionary that contains max values for all result parameters for each simulation

Return type

dict