示例#1
0
文件: Peak.cs 项目: vnbhatia/triplet
 public static bool AreEqual(Peak a, Peak b)
 {
     if (a.mz == b.mz && a.intensity == b.intensity) // ignore "consecutiveNeutralLossIndex" since that measure is relative to a search
         if (IonSpectrum.AreEqual(a.spectrum, b.spectrum))
             return true;
     return false;
 }
示例#2
0
        public PeakResultView(Peak p, double maxIntensityOfSpectrum, double RTWindow_start, double RTWindow_end)
        {
            this.p = p;

            this.maxIntensityOfSpectrum = maxIntensityOfSpectrum;
            this.RTWindow_start = RTWindow_start;
            this.RTWindow_end = RTWindow_end;
            this.consecutiveNeutralLossIndex = p.consecutiveNeutralLossIndex;
        }