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

photobiology R packages updated

Three packages have had updates:

photobiology (Version 0.2.11)

Mainly speed optimizations, but a couple of functions acquired additional parameters and functionality. All changes are backward compatible.

photobiologyVis (Version 0.1.3)

Modified the wabeband definitions to allow caching of multipliers. No changes to results but a significant speed increase for repeated computations.

photobiologyUV (Version 0.2.4)

Very small changes for consistency of interface. Now all waveband definition functions have a std parameter (even those with only one possible value for it, and have a default value). Changes are backwards compatible.

As usual packages can be downloaded from Buitbucket

photobioloy R packages updated

I have updated all the photobiology packages. There are no major changes, so shouldn’t affect results of calculations or old scripts, except that there was an error in the definition of Green in photobiologyVis (reported by Titta, thanks!).

The documentation is hopefully improved: most packages have now User Guides

As earlier they can be downloaded from Bitbucket as binary (.zip for Windows) or source (.tar.gz). I could also create binaries for Linux if needed, just let me know.