photobiologyWavebands 0.4.3

The main changes from version 0.4.2 the previous CRAN release, are:

  • Add waveband definitions for non-standard split of the UVA band with constructors UVAsw() and UVAlw().
  • Add two new definitions of far-red as used in remote sensing: "RedEdge20" and "RedEdge40".
  • Minor updates to documentation.

Documentation web site at https://docs.r4photobiology.info/photobiologyWavebands/.

NOTE: The updated package is available through CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://bitbucket.org/aphalo/photobiologywavebands/issues

photobiologySun 0.4.1

The main changes from version 0.4.0, the most recent version are:

  • Rebuild data objects with ‘photobiology’ 0.9.26 to fix minor bugs.
  • Replace non-ASCII characters in documentation.

Documentation web site at https://docs.r4photobiology.info/photobiologySun/.

NOTE: The updated package is available through CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://bitbucket.org/aphalo/photobiologysun/issues

gginnards 0.0.2

This is a minor update, with the following enhancements compared to ‘gginnards’ 0.0.1.

  • Implement str() method for class "ggplot" as a wrapper with tweaked default arguments.
  • Add functions mapped_vars() and data_vars() to list variables in the default data member of objects of class "gg".
  • Add function data_attributes() to list the attributes of the default data member of objects of class "gg".

Documentation web site at http://docs.r4photobiology.info/gginnards/ includes all help pages, with output from all examples, and vignettes in HTML format.
NOTE: The package is on its way to CRAN CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket https://bitbucket.org/aphalo/gginnards/issues

Yoctopuce modules: Spectrometer

In the introduction to this series of post, I described the Yoctopuce library and told that R package ‘reticulate’ can be used to access the Python version of the yoctopuce library. Here I describe a simple and cheap “micro” spectrometer with a digital interface and its use together with R packages from the 'r4photobiology' suite.

I will use a miniature and low cost spectrometer, type AS7265X from ams. It does not used a grating as monochromator, but instead each of the 18 channels has a different interference filter deposited directly on the silicon chip. The FWHM is 20 nm, and the wavelength range from 410 nm to 940 nm. The spectrometer consists in three separate sensor units working together. The interface is digital, and temperature compensation and analogue to digital conversion takes place in the sensor modules. In spite of the number of channels communication between the spectrometer and a micro-processor requires only two wires. The spectrometer supports two different communication protocols, the specialized I2C and a generic serial communication (UART).

Continue reading