com2AB.com2AB.setEqParameters

setEqParameters(cfg, smallAva)[source]

Set alpha beta equation parameters

Set alpha beta equation parameters to - standard (default) - small avalanche (if smallAva==True) - custom (if cfgsetup(‘customParam’) is True use the custom values provided in the ini file)

Parameters
  • cfg (configParser) – if cfgsetup(‘customParam’) is True, the custom parameters provided in the cfg are used in theAlphaBeta equation. (provide all 5 k1, k2, k3, k4 and SD values)

  • smallAva (boolean) – True if the small avallanche AlphaBeta equation parameters should be used

Returns

eqParameters – k1, k2, k3, k4 and SD values to be used in the AlphaBeta equation

Return type

dict