예제 #1
0
        public void Add(TracePoint tp)
        {
            double idx = Math.Floor(tp.MZ);

            if (Traces.ContainsKey(idx))
            {
                Traces[idx].Points.Add(tp);
            }
        }
예제 #2
0
 public void Add(TracePoint tp)
 {
     if (tp.Intensity > MaxI)
     {
         MaxI = tp.Intensity;
         if (tp.Charge > 0)
         {
             Chg = tp.Charge;
         }
     }
     N++;
     ISum  += tp.Intensity;
     MZSum += tp.MZ * tp.Intensity;
     RT     = tp.RT;
 }
예제 #3
0
 public void Add(TracePoint tp)
 {
 }