Skip to contents

Set setting "boxcar width" (the number of adjacent pixels averaged)

Usage

set_boxcar_width(jwrapper, half.width.px = 0L, sr.index = 0L, ch.index = 0L)

Arguments

jwrapper

an open Wrapper object from Omnidriver

half.width.px

the number of pixels in one half of the bocar window (an integer number)

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

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.