This update is an attempt to fix a bug preventing the package from loading under OS X and Linux. Not yet tested, as there seem to be additional problems under OS X at least. The remaining problem seems to be related to some component of OmniDriver being incompatible with OS X.
This is an interim patch which will be replaced in due time with a version tested under multiple OSs rather than only under Windows 10.
This package allows the control of all Ocean Optics spectrometers and the acquisition of spectral data directly from within R code. The current version implements only a subset of the functions available in OmniDriver. Adding other functions should be almost trivial, but not all of them can be tested with the spectrometers we have access to.
It is fully functional with the installation of the free run-time provided by Ocean Optics, but it is not supported in any way by Ocean Optics, without purchase of a licence. We thank Ocean Optics’ for helping in the development of this package. (The run-time can be installed from the same file as a full installation, but without the need to enter a password.)
This package implements functions for acquisition of spectral data, application of special correction and calibration algorithms using aMaya2000Pro spectrometer from Ocean Optics. It also implements different radiation measurement protocols. Functions are also provided for estimating calibration constants from measurements of calibration lamps. The algorithms allow in most cases a gain of one order of magnitude in signal to noise ratio, allowing acceptably good measurements of solar ultraviolet radiation with this single-monochromator array instrument. The code is based on algorithms developed by Lasse Ylianttila at the Radiation Safety Authority Finland.
This package can be used as is only with our own Ocean Optics spectrometer unit, a Maya2000Pro. It is made publicly available as an example that could be adapted to other spectrometers. In addition, by making it publicly available, we contribute to making our own research reproducible.
A bugfix update will be released as soon as we have access to the spectrometer for testing it. The bug affects only measurements done under extremely low irradiance levels.
NOTE:Sources, and Windows binaries for R 3.2.x, are now available in the repository.