swectral.vegeind.sr_nir_g#

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

Compute SR NIR/Green (Simple Ratio NIR/Green) of 2D array-like of 1D spectra data series. The calculation is based on:

C.S.T Daughtry, C.L Walthall, M.S Kim, E.Brown de Colstoun, J.E McMurtrey,
Estimating Corn Leaf Chlorophyll Concentration from Leaf and Canopy Reflectance,
Remote Sensing of Environment,
Volume 74, Issue 2,
2000,
Pages 229-239,
ISSN 0034-4257,
https://doi.org/10.1016/S0034-4257(00)00113-9.
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