pavo 0.3-1 ------------------------------------------------------------------------------ NEW FUNCTIONS * irrad2flux() and flux2irrad() to convert illuminant measurements MINOR FEATURES AND BUG FIXES * vismodel() less cryptic error messages * as_rspec() fix message pertaining wavelength column * getspec() now removes empty columns (generated by bad tabulation) * plot.rspec() fix color labeling issue (previously, when user specified fewer colors than number of spectra, 'stack' and 'overlay' colored spectra differently) pavo 0.3 ------------------------------------------------------------------------------ NEW FUNCTIONS * subset() class methods for rspec, vismodel and tcs * summary() method for vismodel, returns attributes used in visual model VISUAL MODEL * vismodel() output includes only Qi or fi (as selected by qcatch argument) * vismodel() von Kries correction is now an optional argument * coldist() subset argument for partial filtering * Updated sensitivity curves MINOR FEATURES * getspec() works with Avasoft 8 output * aggspec() if no "by" argument is supplied, applies function to all spectra BUG FIXES * tcs() accepts receptor names other than usml, issues warning * aggplot() allows control for different line types per spectra * voloverlap() now assigns darkgrey color for overlap if color vector is of length 1 or 2 pavo 0.1-2 ------------------------------------------------------------------------------ NEW FUNCTIONS * merge.rspec() combines rspec objects in a single object VISUAL MODEL * Changed vismodel() output: von Kries correction is now an optional argument, output includes only Qi and fi * vismodel() accepts a scale parameter (multiplies iluminant in order to make it in flux units) * coldist() includes option for receptor noise calculation * Updated sensitivity curves MINOR FEATURES * sensmodel() accepts user-defined ocular media transmission * voloverlap() allows greater user control of plotting options * voloverlap() includes Monte Carlo option for overlap calculation * as.rspec() accepts "whichwl" argument for user-defined wavelength column selection * as.rspec() includes "interp" argument; updated automatic search for wavelength column * aggspec() aggregates spectra by multiple vectors (e.g. average spectra by species and sex using by=list(species,sex) ) * peakshape() gives plot titles, allows ask=TRUE and mfrow BUG FIXES * explorespec() "free" argument fixed * summary.rspec() S5 variable fixed; segments now divided by B1 (brightness-independent measure of saturation) * summary.rspec() checks for positive values when bmaxneg is caluclated, returns NA * tcs() accepts "v" cone class * aggspec() fixed matching of names * procspec() works with rspec objects that include a single reflectance spectrum * peakshape() minor fixes