Fourier transform mass spectrometry for analysis