mean: calculate mean of multiple spectra
Description
compute mean of all spectra in a colorSpec object
Usage
# S3 method for colorSpec
mean( x, ... )
Value
a colorSpec object with single spectrum = average of all spectra in colorSpec.
Arguments
- x
a colorSpec object
- ...
further arguments ignored
Details
This function might be useful when capturing many spectra on a spectrometer
and averaging them to reduce noise.