lightr: Read Spectrometric Data and Metadata

Parse various reflectance/transmittance/absorbance spectra file formats to extract spectral data and metadata, as described in Gruson, White & Maia (2019) <doi:10.21105/joss.01857>. Among other formats, it can import files from 'Avantes' <>, 'CRAIC' <>, and 'OceanInsight' (formerly 'OceanOptics') <> brands.

Version: 1.7.1
Depends: R (≥ 3.6.0)
Imports: future.apply, progressr, xml2 (≥ 1.0.0)
Suggests: digest, knitr, lintr, pavo, rmarkdown, spelling, testthat (≥ 3.0.0), withr
Published: 2024-03-21
DOI: 10.32614/CRAN.package.lightr
Author: Hugo Gruson ORCID iD [cre, aut, cph], Rafael Maia ORCID iD [aut, cph], Thomas White ORCID iD [aut, cph], Kotya Karapetyan [ctb, cph] (Author of the MATLAB script to read AvaSoft7 binary files (CC-BY))
Maintainer: Hugo Gruson <hugo.gruson+R at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Language: en-GB
Citation: lightr citation info
Materials: README NEWS
CRAN checks: lightr results


Reference manual: lightr.pdf
Vignettes: Batch import with 'lr_get_spec()' and 'lr_get_metadata()'
Renormalise spectral data with a custom reference
Real life example


Package source: lightr_1.7.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): lightr_1.7.1.tgz, r-oldrel (arm64): lightr_1.7.1.tgz, r-release (x86_64): lightr_1.7.1.tgz, r-oldrel (x86_64): lightr_1.7.1.tgz
Old sources: lightr archive

Reverse dependencies:

Reverse imports: pavo


Please use the canonical form to link to this page.