convolve.spectra: Convolve field spectral observations to airborne/satellite...

View source: R/spec.utils.R

convolve.spectraR Documentation

Convolve field spectral observations to airborne/satellite spectral bands/channels.

Description

Convolve field spectral observations to airborne/satellite spectral bands/channels.

Usage

convolve.spectra(
  field.spectra = NULL,
  start.wave = NULL,
  end.wave = NULL,
  sensor = NULL,
  year = NULL,
  spc = NULL
)

Arguments

field.spectra

Input field spectra. If a single spectra then the format can be either column or row major with the wavelengths either a column of data or the column headers. If multiple (i.e. a matrix of data) the input should be in row major format with the column headers as wavelength numbers. See examples below.

start.wave

Starting wavelength of field spectra

end.wave

ending wavelength of field spectra

sensor

The sensor (e.g. "AVIRIS", "Landsat 5", "Landsat 7", "MODIS"). Current options are: "AVIRIS" More to come in the future

year

[Optional] E.g. year=2011. If the AVIRIS sensor is selected this allows the user to select a specific spectral calibration based on the year of data aquisition. Defaults to 2011.

spc

[Optional] Option to use custom spectral calibration information. Format: band number, center wavelength, FWHM. NOT YET IMPLEMENTED

output.dir

[Optional] Directory to output the convolved spectral data. If not set the results are only pasesd back to the working environment

Value

output.spectra Returns a matrix of convolved spectra

Author(s)

Shawn P. Serbin


serbinsh/R-FieldSpectra documentation built on March 31, 2022, 10:08 p.m.