Skip to contents

This method checks that the sn of the instrument used to acquire the raw counts matches that in the definition of a correction method.

Usage

check_sn_match(x, correction.method, missmatch.action = stop)

Arguments

x

a generic_mspct object, in normal use a raw_mspct object.

correction.method

a list describing the correction method. Must incluse a member named "spectrometer.sn".

missmatch.action

a function, in practice one of stop, warning, message or NULL.

Value

A logical vector of length one, with FALSE indicating a missmatch.