powered by
Update the spectral class names of objects to those used in photobiology (>= 0.6.0) and add 'version' attribute as used in photobiology (>= 0.70).
upgrade_spct(object)
The modified object (invisibly).
generic.spct A single object to upgrade
Other upgrade from earlier versions: is.old_spct(), upgrade_spectra()
is.old_spct()
upgrade_spectra()