Quantile

The Quantile tool transforms a raster into quantiles. Quantiles are values taken at regular intervals from the inverse of the cumulative distribution function (CDF) of a random variable.


See Also:

Scripting:

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

wd = pluginHost.getWorkingDirectory()
input = wd + "input.dep"
output = wd + "output.dep"
numQuantiles = "5"
args = [input, output, numQuantiles]
pluginHost.runPlugin("Quantile", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def input = wd + "input.dep"
def output = wd + "output.dep"
def numQuantiles = "5"
String[] args = [input, output, numQuantiles]
pluginHost.runPlugin("Quantile", args, false)


Credits: