Tool Rao's Q Diversity Index (Classic)
Grid based analysis of diversity with Rao's Q Index. Rao's Q diversity index is calculated locally for each grid cell using the specified kernel (aka 'moving window'). It is assumed that the grid cell values represent quantities. 
References
- Rocchini, D., Marcantonio, M., Ricotta, C. (2017): Measuring Rao's Q diversity index from remote sensing: An open source solution. Ecological Indicators, Volume 72, p. 234-238. doi:10.1016/j.ecolind.2016.07.039..
 
- Author: O.Conrad (c) 2019
 
- Menu: Grid|Analysis|Diversity
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Values | grid, input | VALUES | - | - | 
| Output | Number of Categories (*) | grid, output, optional | COUNT | number of different categories (unique values) within search area | - | 
 | Rao's Q | 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 number | KERNEL_RADIUS | cells | Minimum: 0 Default: 2 | 
| (*) optional | 
Command-line
Usage: saga_cmd grid_analysis 24 [-VALUES <str>] [-COUNT <str>] [-INDEX <str>] [-KERNEL_TYPE <str>] [-KERNEL_RADIUS <num>]
  -VALUES:<str>       	Values
	grid, input
  -COUNT:<str>        	Number of Categories
	grid, output, optional
  -INDEX:<str>        	Rao's Q
	grid, output
  -KERNEL_TYPE:<str>  	Kernel Type
	choice
	Available Choices:
	[0] Square
	[1] Circle
	Default: 1
  -KERNEL_RADIUS:<num>	Radius
	integer number
	Minimum: 0
	Default: 2