Plant Area Index (PAI)
Theory
Plant Area Index (PAI) is a measure of the total plant material in a vertical column of the forest. It is calculated as the sum of the Plant Area Density (PAD) across all layers in the canopy.
Where:
- is the Plant Area Index.
- is the Plant Area Density between adjacent layers and .
- is the total number of layers in the vertical column.
PAI provides an aggregated view of plant material from the ground to the
top of the canopy by summing the PAD for each vertical layer.
Calculating PAI
To calculate PAI, first calculate PAD, then:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | from pyforestscan.handlers import read_lidar
from pyforestscan.visualize import plot_metric
from pyforestscan.filters import filter_hag
from pyforestscan.calculate import assign_voxels, calculate_pad, calculate_pai
file_path = "../example_data/20191210_5QKB020880.laz"
arrays = read_lidar(file_path, "EPSG:32605", hag=True)
arrays = filter_hag(arrays)
points = arrays[0]
voxel_resolution = (5, 5, 1)
voxels, extent = assign_voxels(points, voxel_resolution)
pad = calculate_pad(voxels, voxel_resolution[-1])
pai = calculate_pai(pad)
plot_metric('Plant Area Index', pai, extent, metric_name='PAI', cmap='viridis', fig_size=None)
|
