in3Utils.geoTrans.prepareAngleProfile
- prepareAngleProfile(beta, avaProfile, raiseWarning=True)[source]
Prepare inputs for findAngleProfile function Read profile (s, z), compute the slope Angle look for points for which the slope is under the given Beta value and that are located downstream of the splitPoint
- Parameters
beta (float) – beta angle in degrees
avaProfile (dict) – profile dictionary, s, z and a split point(optional)
raiseWarning (bool) – True to raise eventual warnings
- Returns
angle (1D numpy array) – profile angle
tmp (1D numpy array) – index array of point in profile with slope bellow the given beta angle and bellow the splitPoint
ds (1D numpy array) – distance between points discribed in tmp