ana5Utils.DFAPathGeneration.getSplitPoint¶
- getSplitPoint(cfg, avaProfile, parabolicFit)[source]¶
find the split point corresponding to an avalanche profile, with parabolic fit and the slopeSplitPoint
- Parameters
cfg (configParser) – configuration object with: slopeSplitPoint: float
desired slope at split point (in degrees)
- dsMin: float
threshold distance [m] for looking for the split point (at least dsMin meters below split point angle)
avaProfile (dict) – profile to be extended
parabolicFit (dict) – a, b, c coeficients of the parabolic fit (y = a*a*x + b*x + c)
- Returns
splitPoint – (x, y, z, zPra, s) at split point location.
- Return type
dict