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)
generic.spct A single object to upgrade
The modified object (invisibly).
Other upgrade from earlier versions: is.old_spct(), upgrade_spectra()
is.old_spct()
upgrade_spectra()