Пример #1
0
        public void bruker12T_GetMassSpectrumTest1()
        {
            BrukerV2Run run     = new BrukerV2Run(FileRefs.RawDataMSFiles.BrukerSolarix12TFile1);
            ScanSet     scanset = new ScanSet(4);

            run.GetMassSpectrum(scanset, 0, 50000);
            //run.XYData.Display();
        }
Пример #2
0
        public void bruker15T_GetMassSpectrumTest1()
        {
            BrukerV2Run run     = new BrukerV2Run(FileRefs.RawDataMSFiles.Bruker15TFile1);
            ScanSet     scanset = new ScanSet(4);

            run.GetMassSpectrum(scanset, 0, 50000);

            Assert.AreEqual(789.967903595286m, (decimal)run.XYData.Xvalues[129658]);
            Assert.AreEqual(9503829, run.XYData.Yvalues[129658]);
        }
Пример #3
0
        public void bruker12T_FID_GetSpectrumTest2()
        {
            BrukerV2Run run = new BrukerV2Run(FileRefs.RawDataMSFiles.BrukerSolarix12T_FID_File2);

            Assert.AreEqual(1, run.MinScan);
            Assert.AreEqual(1, run.MaxScan);

            ScanSet scanset = new ScanSet(1);

            run.GetMassSpectrum(scanset, 0, 100000);

            Assert.AreEqual(369657, run.XYData.Xvalues.Length);
            //run.XYData.Display();
        }