/// <summary> /// 获取筛选后的谱图列表。 /// </summary> /// <returns></returns> public List <IIdentifiedSpectrum> GetOptimalSpectra() { List <IIdentifiedSpectrum> result = new List <IIdentifiedSpectrum>(); OptimalResults.ForEach(m => result.AddRange(m.Spectra)); return(result); }
public void CalculateToleranceScore() { var scoreFunc = this.Options.ScoreFunction; OptimalResults.ForEach(m => m.CalculateToleranceScore(scoreFunc)); }
public void KeepOptimalResultInSetOnly(HashSet <IIdentifiedSpectrum> spectra) { OptimalResults.ForEach(m => m.KeepOptimalResultInSetOnly(spectra)); CalculateToleranceScore(); }