Ejemplo n.º 1
0
        public CalibrationEngine(MsDataFile myMSDataFile, DataPointAquisitionResults datapoints, CommonParameters commonParameters, List <string> nestedIds) : base(commonParameters, nestedIds)
        {
            MyMsDataFile = myMSDataFile;
            Datapoints   = datapoints;

            // set the random seed based on raw file properties
            if (MyMsDataFile.SourceFile != null && !string.IsNullOrEmpty(MyMsDataFile.SourceFile.CheckSum))
            {
                RandomSeed = MyMsDataFile.SourceFile.CheckSum.GetHashCode();
            }
            else
            {
                RandomSeed = MyMsDataFile.NumSpectra;
            }
        }
Ejemplo n.º 2
0
 public CalibrationEngine(MsDataFile myMSDataFile, DataPointAquisitionResults datapoints, CommonParameters commonParameters, List <string> nestedIds) : base(commonParameters, nestedIds)
 {
     MyMsDataFile = myMSDataFile;
     Datapoints   = datapoints;
 }
Ejemplo n.º 3
0
 public CalibrationEngine(MsDataFile myMSDataFile, DataPointAquisitionResults datapoints, CommonParameters commonParameters, List <(string FileName, CommonParameters Parameters)> fileSpecificParameters, List <string> nestedIds) : base(commonParameters, fileSpecificParameters, nestedIds)
Ejemplo n.º 4
0
 public CalibrationEngine(IMsDataFile <IMsDataScan <IMzSpectrum <IMzPeak> > > myMSDataFile, DataPointAquisitionResults datapoints, List <string> nestedIds) : base(nestedIds)
 {
     this.myMsDataFile = myMSDataFile;
     this.datapoints   = datapoints;
 }