This a major update with important new functionality added, but should still be backwards compatible with old code.
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.
photobiologyAll (version 0.1.1) no longer depends on photobiologygg.
photobiologyUV (version 0.2.7) fixed bug introduced in version 0.2.6 that could affect the calculation of UVC and UVB irradiance when both were used and caching was enabled.
photobiologyFilters (version 0.1.6) added data for two Schott filters
MayaCalc (version 3.0.10) fixed bug that could cause a warning but had no effect on calculations. In addition the text of the comment attribute of the returned data table was modified to include additional information.
Windows binaries for R 3.0.x and 3.1.x, and source packages are available from the repo.
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