public FilterLowFitPointNumber ( int points, int minPoints ) : bool | ||
points | int | /// The points. /// |
minPoints | int | /// The min points. /// |
Результат | bool |
/// <summary> /// The conclude status. /// </summary> /// <param name="minFitPoints"> /// The min fit points. /// </param> /// <param name="minR2"> /// The min r 2. /// </param> /// <returns> /// The <see cref="AnalysisStatus"/>. /// </returns> private AnalysisStatus ConcludeStatus(int minFitPoints, double minR2) { TrackFilter filter = new TrackFilter(); bool lowFitPoints = filter.FilterLowFitPointNumber(this.ObservedPeaks.Count(), minFitPoints); bool lowR2 = filter.IsLowR2(this.mobilityInfo.RSquared, minR2); return lowFitPoints ? AnalysisStatus.NotSufficientPoints : lowR2 ? AnalysisStatus.Rejected : AnalysisStatus.Positive; }