Arctan

This tool creates a new raster in which each grid cell is equal to the inverse tangent of the corresponding grid cell in an input raster. Grid cells with NoData values in the input raster will be assigned NoData values in the output raster. The output raster will contain angular data measured in degrees. If desired, you can convert degrees to radians by

See Also:

Scripting:

The following is an example of a Python script that uses this tool:

wd = pluginHost.getWorkingDirectory()
inputFile = wd + "input.dep"
outputFile = wd + "output.dep"
args = [inputFile, outputFile]
pluginHost.runPlugin("ArcTan", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def inputFile = wd + "input.dep"
def outputFile = wd + "output.dep"
String[] args = [inputFile, outputFile]
pluginHost.runPlugin("ArcTan", args, false)

Credits: