com2AB.com2AB.com2ABKern
- com2ABKern(avaPath, splitPoint, dem, eqParams, distance, dsMin)[source]
Compute AlpahBeta model for a given avapath
Call calcABAngles to compute the AlphaBeta model given an input raster (of the dem), an avalanche path and split points
- Parameters
avaPath (dict) – dictionary with the name of the avaPath, the x and y coordinates of the path
splitPoint (dict) – dictionary split points
dem (dict) – dem dictionary used to get the avaProfile from the avaPath
eqParams (dict) – dict containing the AB model parameters (produced by setEqParameters and depends on the com2ABCfg.ini)
distance (float) – line resampling distance
dsMin (float) – threshold distance [m] when looking for the beta point
- Returns
avaProfile – avaPath dictionary with AlphaBeta model results (path became a profile adding the z and s arrays. AB runout angles and distances)
- Return type
dict