Package documentation web site at: https://docs.r4photobiology.info/photobiology/
Continuing with the work released in version 0.10.0, this version includes significant new functionality as well as bug fixes and the rewriting of some smelly/ugly code previously used for the dispatch of math operators and functions. It also includes performance optimizations in the computations of color definitions from wavelengths.
In brief, this update brings: 1) improved handling of conversions among quantities used to describe filters, which required adding a mechanism to store properties of filters as metadata, and revising the code behind mathematical operations and mathematical functions related to
filter_spct objects; 2) Support for use of arbitrary chromaticity definitions for tagging of spectra; 3) Changes to error checking and messages, including changing several earlier warnings into errors; several important bug fixes.
Changes from version 0.10.0 the most recent CRAN release, are:
print()method for filter properties.
- Example data for filters updated with filter properties.
wls_at_target()method for data frames.
rbindspct()now allows control of metadata copying
- Serious bug in
T2Afr()was causing wrong values to be returned!!
- Serious bug in
find_peaks()so that arguments passed to
strictare obeyed also when
span = NULL.
Full functionality of
filter_spct objects to have the new
"filter.properties" attribute or contain a column
"Rfr" with reflectance data like
object_spct objects. This means that until packages ‘photobiologyFilters’ and ‘photobiologyPlants’ are updated, these functions cannot be used with the spectral data they contain.
NOTE: The updated package is on its way to CRAN.
Please raise issues concerning bugs or enhancements to this package through Bitbucket https://bitbucket.org/aphalo/photobiology/issues