OptionalencodingEncoding used for header, log and UVProbe text that is not valid UTF-8
(e.g. 'gbk', 'shift_jis').
OptionalloggerWhere anomalies are reported as they are found, in addition to
warnings. Any cheminfo-types LightLogger fits, including console
and a FifoLogger.
OptionalsortReturn each spectrum sorted by increasing X. With false, the file order
is kept.
OptionalstrictThrow a SpcParserError with code STRICT on anomalies that are otherwise
only reported in warnings.
OptionaltimeZone the instrument's clock was set to, as an IANA name
('Europe/Zurich'), a fixed offset ('+01:00') or 'UTC'.
An SPC file records the wall clock the operator saw and never its offset,
so without this option a decoded date names no instant: it is read as the
reader's own local time, which differs between a lab machine and a UTC
server. Naming the lab's zone makes every date an instant that is the same
everywhere. The unix layout is already an instant and is never shifted.
Options accepted by
parse.