Examples of Logarithmic tool output on floating-point input

This ArcGIS 2.8 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Available with Spatial Analyst license.

Available with Image Analyst license.

The Logarithmic math tools can process both integer and floating-point input values. However, note that input values that are 0 or negative will be NoData in the output raster.

The following illustrations demonstrate the output values from both positive and negative floating-point inputs, as well as inputs of value 0.

Logarithmic tools on float input

ToolIllustration and Python syntax
Ln
Ln illustration on float input)
OutRas = Ln(InRas1)
Log10
Log10 illustration on float input)
OutRas = Log10(InRas1)
Log2
Log2 illustration on float input)
OutRas = Log2(InRas1)

Related topics