swectral.vegeind.sr#
- swectral.vegeind.sr(spec_array, wavelength, axis=0)[source]#
Compute SR (simple ratio, simple ratio of R800 / R675) of 2D array-like of 1D spectra data series. The calculation is based on:
Jordan, C. F. (1969). Derivation of Leaf-Area Index from Quality of Light on the Forest Floor. Ecology, 50(4), 663–666. https://doi.org/10.2307/1936256
- 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