xdem.DEM.tangential_curvature

xdem.DEM.tangential_curvature#

DEM.tangential_curvature(surface_fit='Florinsky', curv_method='geometric', mp_config=None)[source]#

Calculates tangential curvature in units of m-1 multiplied by 100. Defined as the curvature of a normal section of slope that is tangential to the contour line. Sometimes known as the horizontal curvature, although this terminology has been shared with planform curvature.

Geometric (default) tangential curvature (normal contour curvature) follows Krcho, 1983 in Minár et al. (2020), https://doi.org/10.1016/j.earscirev.2020.103414

Directional derivative tangential curvature follows ‘plan curvature’ of Zevenbergen and Thorne (1987), http://dx.doi.org/10.1002/esp.3290120107

Parameters:
  • surface_fit (Literal['ZevenbergThorne', 'Florinsky']) – The surface fit to use, either ‘ZevenbergThorne’ or ‘Florinsky’.

  • mp_config (MultiprocConfig | None) – Multiprocessing configuration, run the function in multiprocessing if not None.

  • engine – Engine to use for computing the attribute, “scipy” or “numba”.

Raises:

ValueError – If the inputs are poorly formatted.

Return type:

TypeVar(RasterType, bound= Raster)

Returns:

The tangential curvature array of the DEM.