Skip to contents

Checks whether the most recently acquired spectrum is saturated (= signal clipping occured).

Usage

is_saturated(jwrapper, sr.index = 0L, ch.index = 0L)

Arguments

jwrapper

an open Wrapper object from Omnidriver

sr.index

an index to address the spectrometer

ch.index

an index to address the channel in a spectrometer with more than one channel.

Value

a numeric value

Note

Be aware that clipping outside the wavelength range of interest for a given measuremt may not be important and can be ignored. This method tests for clipping at any pixel of the array.