swectral.vegeind.vegeind_summary#
- swectral.vegeind.vegeind_summary(spec_array, wavelength, axis=0)[source]#
Calculate a collection of common vegetation indices.
- Parameters:
- spec_array2D array_like,
shape(n_samples,n_features) 2D array-like of 1D spectral data series.
- wavelength1D array_like
Wavelengths in nanometer for the spectra data.
- axis
int,optional Axis of spectral data series index, must be 0 or 1. If 0, each row represents a sample spectrum.
- L
floatorint Soil influence adjustment parameter. The default is 0.5.
- spec_array2D array_like,
- Returns:
pandas.DataFrameDataframe containing spectral indices of the samples.
- Return type:
DataFrame
See also
ndviNormalized Difference Vegetation Index
srSimple ratio, simple ratio of R800 / R675
dviDifference Vegetation Index
eviEnhanced Vegetation Index
gndviGreen Normalized Difference Vegetation Index
cviChlorophyll Vegetation Index
mcariModified Chlorophyll Absorption Reflectance Index
mtciMERIS Terrestrial Chlorophyll Index
s2repSentinel-2 Red Edge Position
tgiTriangular Greenness Index
ndreNormalized Difference Red Edge Index
lciLeaf Chlorophyll Index
sr_nir_rSimple Ratio NIR/Red
sr_nir_gSimple Ratio NIR/Green
pssrPigment-specific Simple Ratio
padDerivative Pseudo-Absorption
padviDerivative Pseudo-Absorption Vegetation Indices
priPhotochemical Reflectance Index
cciChlorophyll/Carotenoid Index
criCarotenoid Reflectance Indices
sipiStructure Insensitive Pigment Index
wiWater Index
nwiNormalized Water Index
savisSoil Adjusted Vegetation Indices
sasi1Soil Adjusted Salinity Index 1
sasi2Soil Adjusted Salinity Index 2
sasi3Soil Adjusted Salinity Index 3
sasi4Soil Adjusted Salinity Index 4
siSalinity Indices
sr_salinitySimple Ratio R750/R705
vog1Vogelmann Red Edge Index
ariAnthocyanin Reflectance Index
osaviOptimized Soil Adjusted Salinity Index
msaviModified Soil Adjusted Salinity Index
swsi1Salinity and Water Stress Index 1
swsi2Salinity and Water Stress Index 2
swsi3Salinity and Water Stress Index 3
Examples
Prepare demo spectral data:
>>> from specpipe.vegeind import create_vegeind_demo_data >>> df_spec = create_vegeind_demo_data()
Summarize vegetation indices of the spectral data:
>>> vegeind_summary(df_spec, df_spec.columns)