View source: R/spectra.average.R
spec.avg | R Documentation |
Average associated spectra files into a single spectrum. Works on a single spectra or a directory.
spec.avg(
file.dir = NULL,
out.dir = NULL,
spec.type = "Reflectance",
instrument = NULL,
spec.file.ext = NULL,
start.wave = NULL,
end.wave = NULL,
step.size = NULL,
bias.threshold = NULL,
outlier.cutoff = 2,
suffix.length = NULL,
output.file.ext = NULL,
settings.file = NULL
)
file.dir |
File directory or filename of single spectra for processing |
out.dir |
Output directory for metadata information file |
spec.type |
Option to set what type of spectra to process. Options: Reflectance, Transmittance. Can be set with abbreviations: e.g. "Refl" or "Tran". Default is "Reflectance" |
instrument |
What instrument was used to collect spectra. Current options: ASD, SE, SVC |
spec.file.ext |
[Optional] Input spectra file extension. E.g. .asd (ASD), .sed (Spectral Evolution), or .sig (Spectra Vista). In not input extension is assumed based on instrument type. |
start.wave |
Starting wavelength of spectra files. Not needed if specified in XML settings file. |
end.wave |
Ending wavelength of spectra files. Not needed if specified in XML settings file. |
step.size |
Resolution of spectra files. E.g. 1 for 1nm, 5 for 5nm. Not needed if specified in XML settings file. **Phasing this option out through the use of spec file metadata and determining wavelength numbers from spec files |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.