Class: QgsRasterBandStats

The RasterBandStats struct is a container for statistics about a single raster band.

class qgis.core.QgsRasterBandStats[source]

Bases: object

Stats

alias of RasterBandStatistic

bandNumber: int
contains(self, s: QgsRasterBandStats) bool[source]

Compares region, size etc. not collected statistics

Parameters:

s (QgsRasterBandStats)

Return type:

bool

elementCount: int
extent: QgsRectangle
height: int
maximumValue: float
mean: float
minimumValue: float
range: float
statsGathered: RasterBandStatistics
stdDev: float
sum: float
sumOfSquares: float
width: int