Subgroup: other

Class: QgsDerivativeFilter

class qgis.analysis.QgsDerivativeFilter

Bases: qgis._analysis.QgsNineCellFilter

Adds the ability to calculate derivatives in x- and y-directions. Needs to be subclassed (e.g. for slope and aspect)*

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)
cellSizeX
cellSizeY
inputNodataValue
outputNodataValue
processNineCellWindow
processRaster Starts the calculation, reads from mInputFile and stores the result in mOutputFile
setCellSizeX
setCellSizeY
setInputNodataValue
setOutputNodataValue
setZFactor
zFactor

Attributes

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]