Skip to contents

Function to set by reference the "instr.desc" attribute of an existing generic_spct or derived-class object.

Usage

setInstrDesc(x, instr.desc)

instr_descriptor(x) <- value

Arguments

x

a generic_spct object

instr.desc, value

a list

Value

x

Note

This function alters x itself by reference and in addition returns x invisibly. If x is not a generic_spct object, x is not modified.

The fields to be passed in the list instr.desc in part vary depending on the instrument brand and model.