as.raw_spct function

Coerce to a spectrum