⚠️ Our 0.1 release refactored several early-development functions for long-term stability, to update your code see here. ⚠️
Future changes will come with deprecation warnings! 🙂

geoutils.Raster.__neg__

Contents

geoutils.Raster.__neg__#

Raster.__neg__()[source]#

Take the raster negation.

Returns a raster with -self.data.

Return type:

TypeVar(RasterType, bound= Raster)