Skip to contents

Check whether feature "Irradiance Calibration Factor" is available in the spectrometer addressed. Construct a wrapper on the Java controller for the feature. Use a wrapped controller to retrieve the calibration factors.

Usage

is_feature_supported_irradiance_calibration_factor(jwrapper, sr.index = 0L)

get_feature_irradiance_calibration_factor(jwrapper, sr.index = 0L)

get_irradiance_calibration_factors(irrad.cal.wrapper)

Arguments

jwrapper

an open Wrapper object from Omnidriver

sr.index

an index to address the spectrometer

irrad.cal.wrapper

An open wrapper for the feature object.

Value

a logical value

A wrapper on a Java object which provides the interface, or null if this feature is not available for this spectrometer.

A numeric vector of calibration factors, as returned by the spectrometer.

Note

Before calling get_feature_irradiance_calibration_factor you first need to check that the feature is supported by the spectrometer in use by calling is_feature_supported_irradiance_calibration_factor.

An attempt to retrieve calibration factors may fail and not return unless a USB timeout is set with function set_USB_timeout().