com1DFA.deriveParameterSet.setRangeVariation

setRangeVariation(cfg, variationFactor, thNameId)[source]

determine thickness value if set from rangeVariation and set from shp file and update rangeVariation value that is used for exactely this sim

this is required for reproducing this sim when using its configuration file - so that in the rangeVariation parameter it is only one value e.g. +0.5$1 so +0.5m in 1 step

Parameters
  • cfg (configparser object) – comModule configuration file with info on thickness settings

  • variationFactor (float) – value of range variation in terms of required addition to the reference value (e.g. variationFactor= +0.5 - a variation of +0.5m performed by addition of reference value + variationFactor)

  • thNameId (str) – name of thickness feature (e.g. relTh0 if release thickness and feature with id 0)

Returns

variationIni – rangeVariation parameter value for this sim to be added in cfg file

Return type

str