ana4Stats.probAna.createSampleWithVariationStandardParameters

createSampleWithVariationStandardParameters(cfgProb, cfgStart, varParList, valVariationValue, varType)[source]

create a sample for a parameter variation using latin hypercube sampling

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

paramValuesD – 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

dict