Ejemplo n.º 1
0
        protected void AppendScan(IRawFile2 rawReader, List <IsobaricScan> result, int scan, string mode, double isolationWidth)
        {
            IsobaricScan item = new IsobaricScan();

            PeakList <Peak> pkl = rawReader.GetPeakList(scan, MinMz, MaxMz);

            if (pkl.Count < MinPeakCount)
            {
                return;
            }

            var recordScan = GetIdentificationScan(scan);

            item.ScanMode = mode;
            item.RawPeaks = pkl;
            item.PeakInIsolationWindow = rawReader.GetPeakInIsolationWindow(scan, isolationWidth);
            item.Scan = rawReader.GetScanTime(recordScan);

            result.Add(item);
        }
 public ScanTime GetScanTime(int scan)
 {
     return(rawFile.GetScanTime(scan));
 }