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

calcFirstDerY

processNineCellWindow

Calculates output value from nine input values.

calcFirstDerX()
calcFirstDerY()
processNineCellWindow(self) → Tuple[float, float, float, float, float, float, float, float, float, float]

Calculates output value from nine input values. The input values and the output value can be equal to the nodata value if not present or outside of the border. Must be implemented by subclasses*

Return type

Tuple[float, float, float, float, float, float, float, float, float, float]