Mass Spectrometer Data Peak Finding and Curve Fitting

MassSpecData is mass spectrometer data for a compound containing one or the other of two isotopes.  The format is {amu, ions}, where amu is the mass in atomic mass units and ions is the number of ions.

EDAListPlot[MassSpecData, MassSpecOptions];

We use the function FindPeaks to find the positions of the two peaks along with estimates of parameters to use in a combined fit of each to a Gaussian function.

GaussPeakFit = FindPeaks[MassSpecData, Gaussian]

The output of FindPeaks can be used to seed the FindFit routine.

FindFit[MassSpecData, Model, IndependentVariable, Parameters] /. 
      GaussPeakFit