Set "number of scans to average"
Usage
set_scans_to_average(jwrapper, n.scans = 1L, sr.index = 0L, ch.index = 0L)
set_scans_to_avg(jwrapper, n.scans = 1L, sr.index = 0L, ch.index = 0L)
Arguments
- jwrapper
an open Wrapper object from Omnidriver
- n.scans
number of scans (an integer)
- sr.index
an index to address the spectrometer
- ch.index
an index to address the channel in a spectrometer with more
than one channel.
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.