changed dataplot to use dedicated spectrometer class