Update: photobiology 0.3.12

Package photobiology is now at version 0.3.12, which has only a very small fix compared to version 0.3.11 that was in the repository for only a few hours. The main change from version 0.3.10 is the addition of three functions: wb2spct(), wb2tagged_spct() and wb2rect_spct(), which useful for annotating plots. The vignette was also updated with a very brief explanation of their use. Contrary to the last three updates, this time I have created and uploaded to the repository binaries for both R 3.0.x and R 3.1.x. I have also uploaded R 3.0.x binaries for all other packages that were out-of-date.

I will continue building binaries for R 3.0.x until R 3.2.0 is released. However, I do the development and testing under 3.1.1 and will start testing under the pre-release R 3.2.x. A quick check seems to indicate that R 3.0.3 does not trigger any problems.

Update to package photobiologygg (0.1.6)

This update adds significant new functionality and new documentation.

New function:

  • annotate_waveband() is based on ggplot2’s annotate() but has a parameter which accepts a waveband object simplifying the annotation of spectra plotted with ggplot.

The User Guide has been updated with several examples of the use of this function and also of the use of the new functions in photobiology ver 0.2.19.

This version of photobiologygg requires the newest version of photobiology.

Please report any problems or suggestions to me.

Update to package photobiology (0.2.19)

This a major update with important new functionality added, but should still be backwards compatible with old code.

New functions:

  • w_length2rgb() calculation of equivalent RGB values for monochromatic light.
  • s.e.irrad2rgb() calculation of equivalent RGB values from spectral (energy) irradiance.
  • For both functions, the chromaticity coordinates data defaults to the proposed CIE 2006 standard (2 degrees), but others can be used.
  • The package now includes these data as chromaticity coordinates (CC) and colour matching functions (CMF), for both 2 degrees and 10 degrees.
  • min(), max(), range(), mean(), center_wl(), color() and labels() have now versions for wavebands. The values returned by color() and labels() are likely to change, the hue and luminance and text, respectively will change for certain in the next version as I am not totally happy with this first version.

The vignette User Guide was expanded to include several examples of the use of the new functions. The main use of most of these functions is in plot annotation, but may be also useful when information about wavebands needs to accessed.

I just uploaded source and binaries to the repository. Please, check the User Guide for more information and report back to me with any problems or suggestions.

New package photobiologyAll

The new package photobiologyAll loads and imports all packages in the photobiology suite. Does not add any new functionality but adds convenience at the cost of increased memory use and loading time. Added on 25.04.2014: I have decided to remove package photobiologygg from those packages loaded and imported by photobiologyAll, because it in turn imports ggplot2 which may not be needed and is quite large. I will most probably change the name of package photobiologygg as it can be useful also in other contexts. Continue reading