Learn R Programming

lightr (version 1.0)

lr_parse_ttt: Parse Avantes converted file

Description

Parse Avantes converted file. https://www.avantes.com/products/spectrometers

Usage

lr_parse_ttt(filename)

lr_parse_trt(filename)

Arguments

filename

Path of the file to parse

Value

A list of two elements:

  • a dataframe with columns "wl", "dark", "white", "scope" and "processed", in that order

  • a list with metadata including

Examples

Run this code
# NOT RUN {
lr_parse_ttt(system.file("testdata", "avantes_export.ttt",
                         package = "lightr"))
lr_parse_trt(system.file("testdata", "avantes_export2.trt",
                         package = "lightr"))

# }

Run the code above in your browser using DataLab