swectral.vegeind.rnir_to_r510#

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

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

Gitelson, A.A.; Zur, Y.; Chivkunova, O.B.; Merzlyak, M.N.
Assessing Carotenoid Content in Plant Leaves with Reflectance Spectroscopy.
Photochem. Photobiol. 2007, 75, 272–281,
https://doi.org/10.1562/0031-8655(2002)0750272accipl2.0.co2.
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