Skip to contents

High-level functions

These functions offers an intuitive and user-friendly way to import (and possibly) transform multiple files at once in a given location. Please refer to the Batch import with lr_get_spec() and lr_get_metadata() vignette.

lr_get_spec()
Extract spectral data from spectra files
lr_get_metadata()
Extract metadata from spectra files
lr_convert_tocsv()
Convert spectral data files to csv files

Low-level parsers

These functions are destined to advanced users that want a more flexible way to import spectral data. They can only read a single file at a time and users are responsible for writing a loop if necessary. . Please refer to the Renormalise spectral data with a custom reference vignette.

Internal functions

dispatch_parser()
Internal function to dispatch files to the correct parser
lightr lightr-package
lightr: Read Spectrometric Data and Metadata
lr_compute_processed()
Compute processed spectral data