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;
            }
        }
Example #2
0
 public CalibrationEngine(MsDataFile myMSDataFile, DataPointAquisitionResults datapoints, CommonParameters commonParameters, List <string> nestedIds) : base(commonParameters, nestedIds)
 {
     MyMsDataFile = myMSDataFile;
     Datapoints   = datapoints;
 }
Example #3
0
 public CalibrationEngine(MsDataFile myMSDataFile, DataPointAquisitionResults datapoints, CommonParameters commonParameters, List <(string FileName, CommonParameters Parameters)> fileSpecificParameters, List <string> nestedIds) : base(commonParameters, fileSpecificParameters, nestedIds)
Example #4
0
 public CalibrationEngine(IMsDataFile <IMsDataScan <IMzSpectrum <IMzPeak> > > myMSDataFile, DataPointAquisitionResults datapoints, List <string> nestedIds) : base(nestedIds)
 {
     this.myMsDataFile = myMSDataFile;
     this.datapoints   = datapoints;
 }