public ISpectrum GetSpectrum(int scanNum)
        {
            int msOrder             = getter.GetMSnOrder(scanNum);
            TypeOfMSActivation type = (TypeOfMSActivation)getter.GetTypeofActivation(scanNum);

            double[]  mzCharge = getter.GetParentMZCharge(scanNum);
            ISpectrum spectrum = new GeneralSpectrumMSn(msOrder, scanNum, type, mzCharge[0], (int)mzCharge[1]);

            List <IPeak> peaks = getter.GetPeaks(scanNum);

            spectrum.SetPeaks(peaks);
            return(spectrum);
        }
Beispiel #2
0
 public int GetMSnOrder(int scanNum)
 {
     return(specParamGetter.GetMSnOrder(scanNum));
 }