swectral.vegeind.savi#

swectral.vegeind.savi(spec_array, wavelength, axis=0, L=0.5)[source]#

Compute SAVI (Soil Adjusted Vegetation Index) of 2D array-like of 1D spectra data series at given L. The calculation is based on:

A.R Huete,
A soil-adjusted vegetation index (SAVI),
Remote Sensing of Environment,
Volume 25, Issue 3,
1988,
Pages 295-309,
ISSN 0034-4257,
https://doi.org/10.1016/0034-4257(88)90106-X.
Parameters:
spec_array2D array_like, shape (n_samples, n_features)

2D array-like of 1D spectral data series.

wavelength1D array_like

Wavelengths for the spectra data.

axisint, optional

Axis of spectral data series index, must be 0 or 1. If 0, each row represents a sample spectrum.

Lfloat or int

Soil influence adjustment parameter. The default is 0.5.

Returns:
pandas.DataFrame

Dataframe containing spectral indices of the samples.

Return type:

DataFrame

See also

vegeind_summary