magnetic spectrometer