Initial method of exporting fitted spectra