Skip to contents

A integer vector of indexes to bad pixels in the instrument array. Data from these array pixels will be discarded.

Usage

set_descriptor_bad_pixs(descriptor, bad.pixs)

update_spct_bad_pixs(spct, bad.pixs)

update_mspct_bad_pixs(mspct, bad.pixs)

Arguments

descriptor

list as returned by function get_oo_descriptor

bad.pixs

numeric vector of positional indexes corresponding to individual pixels in the instrument array, or an object of class "instr_desc" from where to copy the bad.pixs member.

spct

an object of class generic_spct or derived.

mspct

an object of class generic_mspct or derived.

Value

A copy of the argument passed to descriptor, spct or mspct with the descriptor with indexes to bad pixels set to the new values.

Note

Following R's syntax the first pixel in the detector array has index 1.