Skip to contents

Set setting "correct for electrical dark signal" for the addressed spectrometer channel

Usage

set_correct_for_electrical_dark(
  jwrapper,
  enable = 0L,
  sr.index = 0L,
  ch.index = 0L
)

Arguments

jwrapper

an open Wrapper object from Omnidriver

enable

integer or logical; 0, FALSE: disable; 1, TRUE: enable.

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

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.