Available with Image Analyst license.
Available with Spatial Analyst license.
Summary
Provides access to all existing math functions and returns a raster object with the mathematical operation applied.
Discussion
For more information about how this function works, see the Raster Calculator raster function.
The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.
Syntax
RasterCalculator (rasters, input_names, expression, {extent_type}, {cellsize_type})
Parameter | Explanation | Data Type |
rasters [rasters,...] | The list of input rasters. | Raster |
input_names [input_names,...] | The user-defined variable names. | String |
expression | Build an algebraic expression to perform spatial analysis on the input raster. | String |
extent_type | The spatial extent used to create the output raster.
(The default value is FirstOf) | String |
cellsize_type | The cell size used to create the output raster.
(The default value is FirstOf) | String |
Data Type | Explanation |
Raster | The output raster. |