swectral.vegeind.swsi1#

swectral.vegeind.swsi1(spec_array, wavelength, axis=0)[source]#

Compute SWSI1 (Salinity and Water Stress Index 1) of 2D array-like of 1D spectra data series. The calculation is based on:

S. Hamzeh, A.A. Naseri, S.K. AlaviPanah, B. Mojaradi, H.M. Bartholomeus, J.G.P.W. Clevers, M. Behzad,
Estimating salinity stress in sugarcane fields with spaceborne hyperspectral vegetation indices,
International Journal of Applied Earth Observation and Geoinformation,
Volume 21,
2013,
Pages 282-290,
ISSN 1569-8432,
https://doi.org/10.1016/j.jag.2012.07.002.
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.

Returns:
pandas.DataFrame

Dataframe containing spectral indices of the samples.

Return type:

DataFrame

See also

vegeind_summary