ConvertSpectrumToNDSI: Convert from spectrum to NDSI

Description Usage Arguments Details Value

Description

Convert from spectrum to NDSI

Usage

1
ConvertSpectrumToNDSI(spectrum, detector.bounds)

Arguments

spectrum

An input spectrum. First column is species names.

detector.bounds

Two row matrix; each column has frequency bounds for each detector

Details

Input columns have colnames that have wavelength in nm (as character), other than species names Export columns have colnames that have the pair: 700_805 for NDSI for 700 nm and 805 nm bands Since NDSI should only be computed between spectra measured by the same detector, detector.bounds provides information on these boundaries. Each column is one detector, first row is starting frequency measured by that detector, second row is ending frequency. Any frequencies not in the included ranges will not be included in the output.

Value

A data.frame with species names (first column) and NDSI columns


bomeara/biosense documentation built on May 12, 2019, 11:34 p.m.