Class: QgsDerivativeFilter¶
- class qgis.analysis.QgsDerivativeFilter¶
Bases:
QgsNineCellFilter
Adds the ability to calculate derivatives in x- and y-directions.
Needs to be subclassed (e.g. for slope and aspect).
Methods
Calculates the first order derivative in x-direction according to Horn (1981)
Calculates the first order derivative in y-direction according to Horn (1981)
- rtype:
Tuple[float, float, float, float, float, float, float, float, float, float]
- calcFirstDerX(self) Tuple[float, float, float, float, float, float, float, float, float, float] ¶
Calculates the first order derivative in x-direction according to Horn (1981)
- Return type:
Tuple[float, float, float, float, float, float, float, float, float, float]
- calcFirstDerY(self) Tuple[float, float, float, float, float, float, float, float, float, float] ¶
Calculates the first order derivative in y-direction according to Horn (1981)
- Return type:
Tuple[float, float, float, float, float, float, float, float, float, float]
- processNineCellWindow(self) Tuple[float, float, float, float, float, float, float, float, float, float] ¶
- Return type:
Tuple[float, float, float, float, float, float, float, float, float, float]