com1DFA.deriveParameterSet
Create dictionary for parameter variations
Functions
append thickness values to GENERAL section if read from shp and not varied |
|
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 |
|
Check if the resTypes asked for exist Warns the user if some do not, removes them from the resType list and updates the cfg |
|
check if thickness setting format is correct |
|
Create a simDict with all the simulations that shall be performed |
|
create a variation dictionary according to parameter variation given in cfg object |
|
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 |
|
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 |
|
determine thickness value if set from percentVariation and set from shp file and update percentVariation value that is used for exactely this sim |
|
determine thickness value if set from rangeFromCiVariation and set from shp file and update rangeFromCiVariation value that is used for exactely this sim |
|
determine thickness value if set from rangeVariation and set from shp file and update rangeVariation value that is used for exactely this sim |
|
set thickness value for thickness parameter for all features if multiple according to desired variation |
|
set thickness value for all features according to varType variation |
|
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. |
|
Check if all parameters in variationDict exist in default configuration and are provided in the correct format |
|
write an array of values to a string of values separated by | for configuration |