ggspectra 0.2.2

The changes from version 0.2.1 are:

  • Track changes in package ‘photobiology’ 0.9.15, 0.9.16 and 0.9.17. This among other improvements makes it easy to plot spectral absorptance.
  • Expand y scale to expected range in all cases, but do not force these limits in any case when data exceeds them, except for absorbance for which the y scale is not expanded past 6 a.u.
  • Add new annotation "boundaries" to highlight with horizontal line(s) the expected range of the plotted quantity, highlighting the limit(s) exceeded if data fall outside the expected/valid range.
  • Add previously missing ggplot() method for class object_spct.
  • Revise vignettes.
  • Documentation web site at http://docs.r4photobiology.info/ggspectra/.

The updated package is available from CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://bitbucket.org/aphalo/ggspectra/issues

photobiology 0.9.17

The main changes from version 0.9.16, the previous CRAN release, are:

  •  Add function merge2object_spct() that constructs an object_spct from a filter_spct and a reflector_spct, even if wavelengths differ.
  • Add methods T2Afr() and Afr2T() for converting transmittance to absorptance and vice versa.
  • Add method T2T() for converting between internal and total transmittance when total reflectance is available.
  • Implement math operators and functions for absorptance (Afr).
  • Add convenience functions for setting options for the evaluation of an expression: using_photon(), using_energy(), using_Tfr(), using_Afr(), using_A().
  • Add convenience functions for setting options for math: photon_as_default(), energy_as_default(), Tfr_as_default(), Afr_as_default(), A_as_default().
  • Add convenience functions for setting options for diagnosis: verbose_as_default(), strict_range_as_default().
  • Add convenience functions for setting options for computation: wb_trim_as_default(), use_cached_mult_as_default().
  • Add unset_user_defaults() to clear all private options recognized by this package.
  • Implement new attribute "Afr.type" and methods setAfrType() and getAfrType(). Update copy_attributes() function and check_spct() methods to support this new attribute. (subject to changes)
  • Revise cps2Tfr() and cps2Rfr(): simplify validity tests and fix bug in cps2Rfr().
  • Add method join_mspct() to convert a collection of spectra into a data.frame with multiple columns. This method is mainly intended for use when exporting spectral data.
  • Add spectral data for an Arabidopsis Ler leaf as object_spct, filter_spct, and reflector_spct objects, and two raw_mspct objects with the corresponding raw detector counts from the spectrometer.

Documentation web site at http://docs.r4photobiology.info/photobiology/.

NOTE: The updated package is available from CRAN. 

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://bitbucket.org/aphalo/photobiology/issues

photobiology 0.9.16

The main changes from version 0.9.15 the previous CRAN release, are:

Revise the code for all solar-position-related calculations to improve computation speed when arguments are vectors. The returned values and their high precision remains the same as in recent versions, but when called with long vectors of times or dates, performance is orders of magnitude faster than in earlier versions. Revise documentation. Fix some minor bugs in example sensor data.

Rename color() method to color_of() to avoid name clashes. Define a function color() to maintain backwards compatibility. Define colour_of() to provide synonym for British spelling.

Documentation web site at http://docs.r4photobiology.info/photobiology/.

NOTE: The updated package is available through CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://bitbucket.org/aphalo/photobiology/issues