Random field

This tool can be used to a raster image filled with random values drawn from a normal distribution. The values range from 0 to 1, inclusive. The dimensions and georeferencing of the output random field are based on an existing, user-specified raster grid. Note that the output field will not possess any spatial autocorrelation. If spatially autocorrelated random fields are desired, the Turning Bands Simulation tool is more appropriate.

See Also:

Scripting:

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

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

This is a Groovy script also using this tool:

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

Credits: