Class: QgsRasterCalculatorEntry

class qgis.analysis.QgsRasterCalculatorEntry

Bases: sip.wrapper

Represents an individual raster layer/band number entry within a raster calculation.

bandNumber
raster
rasterEntries() → List[QgsRasterCalculatorEntry]

Creates a list of raster entries from the current project.

If there is more than one layer with the same data source only one of them is added to the list, duplicate names are also handled by appending an _n integer to the base name.

Return type

List[QgsRasterCalculatorEntry]

Returns

the list of raster entries form the current project

New in version 3.6.

ref