swectral.vegeind.si4#
- swectral.vegeind.si4(spec_array, wavelength, axis=0)[source]#
Compute SI4 (Salinity Index 4) of 2D array-like of 1D spectra data series. The calculation is based on:
Nguyen, KA., Liou, YA., Tran, HP. et al. Soil salinity assessment by using near-infrared channel and Vegetation Soil Salinity Index derived from Landsat 8 OLI data: a case study in the Tra Vinh Province, Mekong Delta, Vietnam. Prog Earth Planet Sci 7, 1 (2020). https://doi.org/10.1186/s40645-019-0311-0
- 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.
- axis
int,optional Axis of spectral data series index, must be 0 or 1. If 0, each row represents a sample spectrum.
- spec_array2D array_like,
- Returns:
pandas.DataFrameDataframe containing spectral indices of the samples.
- Return type:
DataFrame
See also