Example #1
0
 public QuantPeak(TagInformation tag, IPeak peak, double injectionTime, MsnDataScan scan, double noise = 0, bool isNoiseCapped = false)
 {
     Tag = tag;
     if (peak == null)
     {
         RawIntensity = 0;
         MZ = 0;
     }
     else
     {
         RawIntensity = peak.Y;
         MZ = peak.X;
     }
     //DataScan = scan;
     InjectionTime = injectionTime;
     Noise = noise;
     IsNoisedCapped = isNoiseCapped;
 }
Example #2
0
 public int CompareTo(IPeak other)
 {
     return Time.CompareTo(other.X);
 }