Skip to contents

Parse the header of the file returned by SpectraSuite for corrections, smotthing and acquisition parameters used. These values are used to set the "inst.settings" atrribute of x.

Usage

set_oo_ssdata_settings(x, file.header = comment(x), overwrite = TRUE)

Arguments

x

generic_spct, although with defaults only raw_spct.

file.header

character string The header of the file output by SpectraSuite.

overwrite

logical A flag indicating if an existing valid instrument descriptor in x should be overwritten.

Value

A copy of x with updated attributes.