lr_parse_procspec {lightr}R Documentation

Parse OceanOptics ProcSpec file

Description

Parse OceanOptics/OceanInsight ProcSpec file. https://www.oceanoptics.com/

Usage

lr_parse_procspec(filename, verify_checksum = FALSE, ...)

Arguments

filename

Path of the file to parse

verify_checksum

Logical (defaults to FALSE). Should we check if the file has been modified since its creation by the spectrometer? An error will be returned if the check fails.

...

ignored

Details

'processed' column computed by official software and provided as is.

Value

A named list of two elements:

References

https://www.oceanoptics.com/software/

Examples

res <- lr_parse_procspec(system.file("testdata", "procspec_files",
                                     "OceanOptics_Linux.ProcSpec",
                                     package = "lightr"),
                         verify_checksum = TRUE)
head(res$data)
res$metadata


[Package lightr version 1.9.0 Index]