Skip to contents

Take one set of spectra at high speed using unchanged instrument settings special OmniDriver API functions for buffered acquisition. No HDR bracketing is possible, and synchronization with a pulsed light source is not supported.

Usage

hs_acq_raw_mspct(
  descriptor,
  acq.settings,
  num.spectra = 100L,
  base.name = NULL,
  f.trigger.on = f.trigger.message,
  f.trigger.off = NULL,
  what.measured = NA,
  where.measured = data.frame(lon = NA_real_, lat = NA_real_),
  set.all = TRUE,
  verbose = TRUE,
  return.list = FALSE
)

Arguments

descriptor

list as returned by function get_oo_descriptor.

acq.settings

list as returned by functions tune_acq_settings.

num.spectra

integer Number of individual spectra to acquire.

base.name

character The name given to individual spectra is formed by this string followed by a sequential numeric index.

f.trigger.on, f.trigger.off

function Functions to be called immediately before and immediately after a measurement. See acq_raw_spct for details.

what.measured

value used to set attribute.

where.measured

data.frame with at least columns "lon" and "lat" compatible with value returned by ggmap::geocode().

set.all

logical resend or not all instrument settings.

verbose

logical to enable or disable warnings.

return.list

logical Return a list instead of a raw_mspct object.

Value

A raw_mspct containing one raw_spct object with one column w.length and one column counts for each spectrum. The number of columns with raw counts is always one and integration time bracketing or HDR values in acq.settings are ignored except for the smallest value.

See also

For normal speed acquisition of a single spectrum and multiple spectra according to a user defined protocol see acq_raw_spct and acq_raw_mspct.

Other raw-counts-spectra acquisition functions: acq_raw_mspct(), acq_raw_spct()