ana5Utils.DFAPathGeneration.extendDFAPath
- extendDFAPath(cfg, avaProfile, dem, particlesIni)[source]
extend the DFA path at the top and bottom avaProfile with x, y, z, s information
- Parameters
cfg (configParser) – configuration object with:
extTopOption: int, how to extend towards the top? 0 for heighst point method, a for largest runout method
nCellsResample: int, resampling length is given by nCellsResample*demCellSize
nCellsMinExtend: int, when extending towards the bottom, take points at more
than nCellsMinExtend*demCellSize from last point to get the direction - nCellsMaxExtend: int, when extending towards the bottom, take points at less than nCellsMaxExtend*demCellSize from last point to get the direction - factBottomExt: float, extend the profile from factBottomExt*sMax
avaProfile (dict) – profile to be extended
dem (dict) – dem dict
particlesIni (dict) – initial particles dict
- Returns
avaProfile – extended profile at top and bottom (x, y, z).
- Return type
dict