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