Exemplo n.º 1
0
        /// <summary>
        ///     Remove all SpectrumIdentificationItems that have a specEValue greater than the best specEValue in the list.
        /// </summary>
        public void RemoveMatchesNotBestSpecEValue()
        {
            ReRankBySpecEValue();
            var best = SpectrumIdentificationItems.First().GetSpecEValue();

            SpectrumIdentificationItems.RemoveAll(item => item.GetSpecEValue() > best);
        }
Exemplo n.º 2
0
 /// <summary>
 ///     The lowest specEvalue in the SpectrumIdentificationItems
 /// </summary>
 /// <returns></returns>
 public double BestSpecEVal()
 {
     Sort();
     return(SpectrumIdentificationItems.First().GetSpecEValue());
 }