photobiologyLEDs 0.5.0

This is a major and code-breaking update. Naming conventions have been changed and several new spectra have been added. Previously included spectra have in most cases been recomputed and may slightly differ from earlier versions of the same data. In part this was done to reduce the size of the data objects, making it possible to include more spectra while keeping the size of the package reasonable. The number of spectra is more than 100, including several of the newest high CRI LEDs as well as some recent types for horticulture.

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

  • Revise for ‘ggspectra’ (>= 0.3.1).
  • Rebuild all data objects with ‘photobiology’ (== 0.10.10) taking care that all spectra in leds.mspct are normalized.
  • Apply function photobiology::thin_wl() to all spectra to reduce their stored size.
  • Add data for addtional LED types and update the metadata of most of those carried over from earlier versions.
  • Add lists of LEDs by intended use.
  • CODE BREAKING: change naming convention for members of the collection of spectra. Now names consist of “brand” and type.
  • CODE BREAKING: lists of LEDs by colour are now based on the wavelength at the peak of emission. We use ISO-standard wavelength boundaries for colours of visible radiation, except for purple < 400 nm. For ultraviolet we follow ISO. All broad-spectrum LEDs are listed as white.
  • Rewrite/revise all scripts used to prepare the spectral data.
  • Migrate Git repository from Bitbucket to GitHub.

Documentation web site at

NOTE: The updated package has been submitted to CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://github-com/aphalo/photobiologyLEDs/issues

Share with

Leave a Reply