Edited spectra fitter