swectral.vegeind.s2rep#
- swectral.vegeind.s2rep(spec_array, wavelength, axis=0)[source]#
Compute S2REP (Sentinel-2 Red Edge Position) of 2D array-like of 1D spectra data series. The calculation is based on:
Si Gao, Kai Yan, Jinxiu Liu, Jiabin Pu, Dongxiao Zou, Jianbo Qi, Xihan Mu, Guangjian Yan, Assessment of remote-sensed vegetation indices for estimating forest chlorophyll concentration, Ecological Indicators, Volume 162, 2024, 112001, ISSN 1470-160X, https://doi.org/10.1016/j.ecolind.2024.112001.
- 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