Exemplo n.º 1
0
 // copy constructor.
 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 <ThrashV1Peak>(a.PeakTops.Capacity);
     PeakTops.AddRange(a.PeakTops.Select(x => new ThrashV1Peak(x)));
 }
Exemplo n.º 2
0
 /// <summary>
 /// default constructor.
 /// </summary>
 public PeakProcessor()
 {
     SetPeakFitType(PeakFitType.Quadratic);
     PeakData            = new PeakData();
     _arePeaksCentroided = false;
 }