Class: QgsAspectFilter

class qgis.analysis.QgsAspectFilter

Bases: QgsDerivativeFilter

Calculates aspect values in a window of 3x3 cells based on first order derivatives in x- and y- directions.

Direction is clockwise starting from north.

Methods

calcFirstDerX

Calculates the first order derivative in x-direction according to Horn (1981)

calcFirstDerY

Calculates the first order derivative in y-direction according to Horn (1981)

processNineCellWindow

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)

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)

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]