New: ooacquire 0.1.1

This is the first release of package ‘ooacquire’ . This package allows the acquisition of spectral data from spectrometers from Ocean Optics connected through the OmniDriver run-time, which is available at no cost from Ocean Optics. The current version implements several corrections and measuring protocols unavailable elsewhere in a single modular framework. Some of these cannot be used off-the-shelf as they require the characterization and calibration of each individual spectrometer, to obtain usable values for constants. However, once these constants are available they can be passed as data arguments without need to modify the package itself. Functions are provided for spectral irradiance, spectral transmittance and spectral reflectance measurements. As transmittance and reflectance measurements are normally done relative to reference objects the calibration requirements are less involved than for  spectral irradiance. Continue reading

Update: photobiology 0.3.13

The main changes from version 0.3.12 are:

Add functions sun_elevation(), sun_zenith_angle() and sun_azimuth().
Add convenience functions trim2overlap() and extend2extremes().
Add print() methods for instr_desc and instr_settings classes.
Change threshold for automatic use of hinges when calculating summaries, so that hinges are used by default in more cases.
Allow lists of length zero as argument to w.band, and treat them as equivalent to NULL.
Make argument span = NULL behave in the same way in peak and valley related summary functions as it has for some time in statistics in package ‘ggspectra‘.
Fix bug in the range check for counts per second which triggered warnings too easily.
Change scaling of D2 and FEL spectra so that they are expressed in W m-2 nm-1.

The package is available through CRAN.

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

Update: ggspectra 0.2.0

The changes from version 0.1.12 are:

Improve handling of annotations parameter in plot() methods.
Add functions color_chart() and black_or_white().
Add statistics stat_wb_box() and stat_wb_column() with "rect" as default geometry and stat_wb_hbar() with "errorbarh" as default geometry .
Change default geometry from "rect" to "text" in all the summary statistics for spectra.
Update stats with "text" as default geometry to use an additional variable BW.color computed by function black_or_white() as default mapping for color.
As default geometries and color mapping have changed, this update can break existing code.
Changes to plot() methods are backwards compatible but default color of some text labels has changed from "white" to "black" to improve readability, and fewer peaks and valleys are highlighted by default. In addition more ticks marks are used on the wavelength axis.
Fix minor bugs in handling of color mapping.
Update documentation.

The package is available through CRAN.

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