ana4Stats.probAna.createSampleWithVariationForThParameters

createSampleWithVariationForThParameters(avaDir, cfgProb, cfgStart, varParList, valVariationValue, varType)[source]
Create a sample of parameters for a desired parameter variation,

and fetch thickness values from shp file and perform variation for each feature within shapefile but treating the features of one shapefile as not-independent

Parameters
  • cfgProb (configparser object) – configuration settings for parameter variation

  • cfgStart (configparser object) – configuration settings for comMod without variation values

  • varParList (list) – list of parameters that shall be varied

  • valVariationValue (list) – list if value used for variation

  • varType (list) – list of type of variation for each parameter (percent, range, rangefromci)

Returns

paramValuesDList – list of paramValuesD (multiple if multiple release area scenarios) paramValuesD: dict

dictionary used to pass parameter variation values
names: list

list of parameter names (that are varied)

values: numpy nd array

as many rows as sets of parameter values and as many rows as parameters

typeList: list

list of types of parameters (float, …)

thFromIni: str

str of parameter names where the base value is read from shape

Return type

list