lr_get_spec function

Extract spectral data from spectra files