powered by
Parse OceanInsight (formerly OceanOptics) JCAMP-DX (.jdx) file. https://www.oceaninsight.com/
lr_parse_jdx(filename)
Path of the file to parse
A list of two elements:
a dataframe with columns "wl", "dark", "white", "scope" and "processed", in that order
a list with metadata including
McDonald RS, Wilks PA. JCAMP-DX: A Standard Form for Exchange of Infrared Spectra in Computer Readable Form. Applied Spectroscopy. 1988;42(1):151-62.
# NOT RUN { lr_parse_jdx(system.file("testdata", "OceanOptics.jdx", package = "lightr")) # }
Run the code above in your browser using DataLab