com1DFA.deriveParameterSet

Create dictionary for parameter variations

Functions

appendShpThickness

append thickness values to GENERAL section if read from shp and not varied

checkRasterMeshSize

check if cell size of raster in Inputs/ is same as desired meshCellSize if not - check for remeshed raster or remesh the raster If onlySearch is True: no remeshing is being done, only search for the right one

checkResType

Check if the resTypes asked for exist Warns the user if some do not, removes them from the resType list and updates the cfg

checkThicknessSettings

check if thickness setting format is correct

createSimDict

Create a simDict with all the simulations that shall be performed

getParameterVariationInfo

create a variation dictionary according to parameter variation given in cfg object

getThicknessValue

set thickness values according to settings chosen and add info to cfg if thFromShp = True - add in INPUT section thickness and id info and ci95 if thFromShp = False - check format of thickness value in GENERAL section

getVariationDict

Create a dictionary with all the parameters that shall be varied from the standard configuration; ONLY accounts for variations in section GENERAL and INPUT/releaseScenario

setPercentVariation

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

setRangeFromCiVariation

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

setRangeVariation

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

setThicknessValueFromVariation

set thickness value for thickness parameter for all features if multiple according to desired variation

setVariationForAllFeatures

set thickness value for all features according to varType variation

splitVariationToArraySteps

split variation in percent to create a list of factors to set parameter value for variations or if a rangeVariation is given in absolute values or if distVariation create an info string on how the distribution can be build (e.g.

validateVarDict

Check if all parameters in variationDict exist in default configuration and are provided in the correct format

writeToCfgLine

write an array of values to a string of values separated by | for configuration