SAGA-GIS Module Library Documentation (v2.2.3)

Module Residual Analysis (Grid)

Relations of each grid cell to its neighborhood. Wilson & Gallant (2000) used this type of calculation in terrain analysis.

Reference:
- Wilson, J.P., Gallant, J.C., [Eds.] (2000): 'Terrain analysis - principles and applications', New York, John Wiley & Sons, Inc.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid (input)GRID--
OutputMean ValueGrid (output)MEAN--
Difference from Mean ValueGrid (output)DIFF--
Standard DeviationGrid (output)STDDEV--
Value RangeGrid (output)RANGE--
Minimum ValueGrid (output)MIN--
Maximum ValueGrid (output)MAX--
Deviation from Mean ValueGrid (output)DEVMEAN--
PercentileGrid (output)PERCENT--
OptionsSearch ModeChoiceMODE-Available Choices:
[0] Square
[1] Circle
Default: 1
Radius (Cells)IntegerRADIUS-Minimum: 1
Default: 7
Include Center CellBooleanBCENTER-Default: 1
WeightingParametersWEIGHTING-4 Parameters:
- 1. Available Choices:
[0] no distance weighting
[1] inverse distance to a power
[2] exponential
[3] gaussian weighting
Default: 0
- 2. Minimum: 0.000000
Default: 1.000000
- 3. Default: 1
- 4. Minimum: 0.000000
Default: 1.000000

Command-line

Usage: saga_cmd statistics_grid 1 [-GRID <str>] [-MEAN <str>] [-DIFF <str>] [-STDDEV <str>] [-RANGE <str>] [-MIN <str>] [-MAX <str>] [-DEVMEAN <str>] [-PERCENT <str>] [-MODE <str>] [-RADIUS <num>] [-BCENTER <str>] [-DISTANCE_WEIGHTING_DW_WEIGHTING <str>] [-DISTANCE_WEIGHTING_DW_IDW_POWER <str>] [-DISTANCE_WEIGHTING_DW_IDW_OFFSET <str>] [-DISTANCE_WEIGHTING_DW_BANDWIDTH <str>]
  -GRID:<str>                            	Grid
	Grid (input)
  -MEAN:<str>                            	Mean Value
	Grid (output)
  -DIFF:<str>                            	Difference from Mean Value
	Grid (output)
  -STDDEV:<str>                          	Standard Deviation
	Grid (output)
  -RANGE:<str>                           	Value Range
	Grid (output)
  -MIN:<str>                             	Minimum Value
	Grid (output)
  -MAX:<str>                             	Maximum Value
	Grid (output)
  -DEVMEAN:<str>                         	Deviation from Mean Value
	Grid (output)
  -PERCENT:<str>                         	Percentile
	Grid (output)
  -MODE:<str>                            	Search Mode
	Choice
	Available Choices:
	[0] Square
	[1] Circle
	Default: 1
  -RADIUS:<num>                          	Radius (Cells)
	Integer
	Minimum: 1
	Default: 7
  -BCENTER:<str>                         	Include Center Cell
	Boolean
	Default: 1
  -DISTANCE_WEIGHTING_DW_WEIGHTING:<str> 	Weighting Function
	Choice
	Available Choices:
	[0] no distance weighting
	[1] inverse distance to a power
	[2] exponential
	[3] gaussian weighting
	Default: 0
  -DISTANCE_WEIGHTING_DW_IDW_POWER:<str> 	Inverse Distance Weighting Power
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -DISTANCE_WEIGHTING_DW_IDW_OFFSET:<str>	Inverse Distance Offset
	Boolean
	Default: 1
  -DISTANCE_WEIGHTING_DW_BANDWIDTH:<str> 	Gaussian and Exponential Weighting Bandwidth
	Floating point
	Minimum: 0.000000
	Default: 1.000000