コード例 #1
0
 public PeakData(PeakData a)
 {
     IntensityList = new List <double>(a.IntensityList);
     MzList        = new List <double>(a.MzList);
     //PeakTops = new List<Peak>(a.PeakTops);
     //force copy by value....
     PeakTops = new List <clsPeak>(a.PeakTops.Capacity);
     PeakTops.AddRange(a.PeakTops.Select(x => new clsPeak(x)));
 }
コード例 #2
0
 /// <summary>
 ///     default constructor.
 /// </summary>
 public PeakProcessor()
 {
     SetPeakFitType(PEAK_FIT_TYPE.Quadratic);
     PeakData            = new PeakData();
     _arePeaksCentroided = false;
 }