r.li.padsd (patch area distribution standard deviation) calculates as:
with:
MPS: mean patch area size
ai: area of patch i
Npatch: number of patch
EXAMPLES
To calculate mean pixel attribute index on map my_map, using
my_conf configuration file and saving results in
my_out file run:
r.li.padsd map=my_map conf=my_conf output=my_out
NOTES
Do not use absolute path names for output files. They are raster if
moving window disposition was selected, otherwise they are in
~/.r.li/output folder.
If input raster is not full of null values r.li.padsd returns a value >=0 that is PADsd.
If input raster is full of null values r.li.padsd returns -1.
If you want to have null values instead run
r.null setnull=-1 map=my_map
after index calculation.
REFERENCES
McGarigal, K., and B. J. Marks. 1995. FRAGSTATS: spatial pattern
analysis program for quantifying landscape structure. USDA For. Serv.
Gen. Tech. Rep. PNW-351.