Skip to contents

Set setting "correct for detector nonlinearity" for the addressed spectrometer.

Usage

set_correct_for_detector_nonlinearity(
  jwrapper,
  correct = 0L,
  sr.index = 0L,
  ch.index = 0L
)

Arguments

jwrapper

an open Wrapper object from Omnidriver

correct

integer or logical; 0, FALSE: apply correction; 1, TRUE: do not apply correction.

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 logical value that the user SHOULD test as the method may fail.

Note

The signature of this function is different to that of the Java equivalent, so that as with other functions in the package indexes for addressing spectrometer and channel can have default values.