lightr (version 1.3)

lr_parse_jaz: Parse OceanInsight converted file

Description

Parse OceanInsight (formerly OceanOptics) converted file. https://www.oceaninsight.com/

Usage

lr_parse_jaz(filename)

lr_parse_jazirrad(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 character vector with metadata including:

    • user: Name of the spectrometer operator

    • date: Timestamp of the recording (ISO 8601 format)

    • spec_model: Model of the spectrometer

    • spec_ID: Unique ID of the spectrometer

    • white_inttime: Integration time of the white reference (in ms)

    • dark_inttime: Integration time of the dark reference (in ms)

    • sample_inttime: Integration time of the sample (in ms)

    • white_avgs: Number of averaged measurements for the white reference

    • dark_avgs: Number of averaged measurements for the dark reference

    • sample_avgs: Number of averaged measurements for the sample

    • white_boxcar: Boxcar width for the white reference

    • dark_boxcar: Boxcar width for the dark reference

    • sample_boxcar: Boxcar width for the sample reference

Details

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

Examples

Run this code
# NOT RUN {
lr_parse_jaz(system.file("testdata", "jazspec.jaz", package = "lightr"))
lr_parse_jazirrad(system.file("testdata", "irrad.JazIrrad",
                  package = "lightr"))

# }

Run the code above in your browser using DataLab