swectral.vegeind.sasi2#

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

Compute SASI2 (Soil Adjusted Salinity Index 2) of 2D array-like of 1D spectra data series. The calculation is based on:

Zhang, Ting-Ting, et al.
Using hyperspectral vegetation indices as a proxy to monitor soil salinity.
Ecological Indicators 11.6 (2011): 1552-1562.
DOI: 10.1016/j.ecolind.2011.03.025
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