Label | Explanation | Data Type |
Map Algebra expression | The map algebra expression that will be run. Create the expression by specifying the inputs, values, operators, and tools to use. You can type in the expression directly or use the controls to create it.
| Raster Calculator Expression |
Output raster | The output raster resulting from the map algebra expression. | Raster Dataset |
Available with Spatial Analyst license.
Available with Image Analyst license.
Summary
Build and run a single map algebra expression using Python syntax.
Illustration
Parameters
RasterCalculator(expression, output_raster)
Name | Explanation | Data Type |
expression | Note:See Map algebra to learn how to perform an analysis in Python. | Raster Calculator Expression |
output_raster | Note:See Create output for information about producing output from map algebra expressions in Python. | Raster Dataset |