Tool Diversity of Categories
Grid based analysis of diversity. It is assumed that the input grid provides a classification (i.e. not a contiuous field). For each cell it counts the number of different categories (classes) as well as the connectivity within the chosen search window.
- Author: O.Conrad (c) 2015
- Menu: Grid|Analysis|Diversity
Parameters
Name | Type | Identifier | Description | Constraints | |
---|---|---|---|---|---|
Input | Categories | Grid, input | CATEGORIES | - | - |
Output | Number of Categories | Grid, output | COUNT | number of different categories (unique values) within search area | - |
Diversity | Grid, output | DIVERSITY | distance weighted average of the number of different categories for distance classes | - | |
Connectivity | Grid, output | CONNECTIVITY | - | - | |
Averaged Connectivity | Grid, output | CONNECTEDAVG | average size of the area covered by each category that occurs within search area | - | |
Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Connectivity Neighbourhood | Choice | NB_CASE | - | Available Choices: [0] Rook's case [1] Queen's case Default: 1 | |
Normalize | Choice | NORMALIZE | - | Available Choices: [0] no [1] by number of cells [2] by area size Default: 0 | |
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 | |
Weighting Function | Choice | DW_WEIGHTING | - | Available Choices: [0] no distance weighting [1] inverse distance to a power [2] exponential [3] gaussian Default: 0 | |
Power | Floating point | DW_IDW_POWER | - | Minimum: 0.000000 Default: 2.000000 | |
Bandwidth | Floating point | DW_BANDWIDTH | Bandwidth for exponential and Gaussian weighting | Minimum: 0.000000 Default: 1.000000 |
Command-line
Usage: saga_cmd grid_analysis 21 [-CATEGORIES <str>] [-COUNT <str>] [-DIVERSITY <str>] [-CONNECTIVITY <str>] [-CONNECTEDAVG <str>] [-NB_CASE <str>] [-NORMALIZE <str>] [-KERNEL_TYPE <str>] [-KERNEL_RADIUS <num>] [-DW_WEIGHTING <str>] [-DW_IDW_POWER <double>] [-DW_BANDWIDTH <double>] -CATEGORIES:<str> Categories Grid, input -COUNT:<str> Number of Categories Grid, output -DIVERSITY:<str> Diversity Grid, output -CONNECTIVITY:<str> Connectivity Grid, output -CONNECTEDAVG:<str> Averaged Connectivity Grid, output -NB_CASE:<str> Connectivity Neighbourhood Choice Available Choices: [0] Rook's case [1] Queen's case Default: 1 -NORMALIZE:<str> Normalize Choice Available Choices: [0] no [1] by number of cells [2] by area size Default: 0 -KERNEL_TYPE:<str> Kernel Type Choice Available Choices: [0] Square [1] Circle Default: 1 -KERNEL_RADIUS:<num> Radius Integer Minimum: 0 Default: 2 -DW_WEIGHTING:<str> Weighting Function Choice Available Choices: [0] no distance weighting [1] inverse distance to a power [2] exponential [3] gaussian Default: 0 -DW_IDW_POWER:<double> Power Floating point Minimum: 0.000000 Default: 2.000000 -DW_BANDWIDTH:<double> Bandwidth Floating point Minimum: 0.000000 Default: 1.000000