average_spct: Average spectral data.

View source: R/spct.integrate.r

average_spctR Documentation

Average spectral data.

Description

This function gives the result of integrating spectral data over wavelengths and dividing the result by the spread or span of the wavelengths.

Usage

average_spct(spct)

Arguments

spct

generic_spct

Value

One or more numeric values with no change in scale factor: e.g. [W m-2 nm-1] -> [W m-2 nm-1]. Each value in the returned vector corresponds to a variable in the spectral object, except for wavelength.

Examples


average_spct(sun.spct)


photobiology documentation built on Oct. 21, 2023, 1:06 a.m.