com1DFA.com1DFATools.compareSimCfgToDefaultCfgCom1DFA
- compareSimCfgToDefaultCfgCom1DFA(simCfg)[source]
Compares the given simulation configuration (as dict) to the default com1DFA configuration. Disregards values like avalancheDir that are expected to change. Returns True if it is the default + an indentifier string: D = Default and C = Changed
- Parameters
simCfg (dict) – simulation configuration
- Returns
isDefault (bool) – True if it is the same as the default configuration
defaultIdentifierString (str) – D if default and C if changed