Tool Simpson Index
Grid based analysis of diversity with the Simpson Index. The index is calculated locally for each grid cell using the specified kernel (aka 'moving window'). It is assumed that the grid cell values represent a classification. 
References
- Author: O.Conrad (c) 2019
 
- Menu: Grid|Analysis|Diversity
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Categories | Grid (input) | CATEGORIES | - | - | 
| Output | Number of Categories (*) | Grid (optional output) | COUNT | number of different categories (unique values) within search area | - | 
 | Simpson Index | Grid (output) | INDEX | - | - | 
| Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - | 
 | Kernel Type | Choice | KERNEL_TYPE | The kernel's shape. | Available Choices: [0] Square [1] Circle Default: 1 | 
 | Radius | Integer | KERNEL_RADIUS | cells | Minimum: 0 Default: 2 | 
| (*) optional | 
Command-line
Usage: saga_cmd grid_analysis 23 [-CATEGORIES <str>] [-COUNT <str>] [-INDEX <str>] [-KERNEL_TYPE <str>] [-KERNEL_RADIUS <num>]
  -CATEGORIES:<str>   	Categories
	Grid (input)
  -COUNT:<str>        	Number of Categories
	Grid (optional output)
  -INDEX:<str>        	Simpson Index
	Grid (output)
  -KERNEL_TYPE:<str>  	Kernel Type
	Choice
	Available Choices:
	[0] Square
	[1] Circle
	Default: 1
  -KERNEL_RADIUS:<num>	Radius
	Integer
	Minimum: 0
	Default: 2