Spectral fitting software