ALTAAnalysisOptions Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 10: Line 10:


== Usage Example ==
== Usage Example ==
  {{APIComment|'Initialize a new ALTADataSet object}}
  {{APIComment|'Initialize a new ALTADataSet object.}}
   Dim ADS As New ALTADataSet("DataSet1")
   Dim ADS As New ALTADataSet("DataSet1")
    
    
  {{APIComment|'Set analysis settings}}
  {{APIComment|'Set analysis settings.}}
   ADS.AnalysisSettings.ModelType = ALTASolverModel.Arrhenius
   ADS.AnalysisSettings.ModelType = ALTASolverModel.Arrhenius
   ADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull
   ADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull

Revision as of 18:03, 1 April 2014


Sets some of the control panel analysis settings for use with the ALTADataSet.Calculate method.

Properties

  • ModelType (as ALTASolverModel) Sets or gets the ALTA model type.
  • Distribution (as ALTASolverDistribution) Sets or gets the ALTA distribution.
  • Analysis (as ALTASolverMethod) Sets or gets the ALTA solver method.
  • UngroupGroupedData (as boolean) Sets or gets whether to ungroup grouped data.
  • SortBeforeCalculations (as boolean) Sets or gets whether to sort before calculation.

Usage Example

 'Initialize a new ALTADataSet object. 
 Dim ADS As New ALTADataSet("DataSet1")
 
 'Set analysis settings. 
 ADS.AnalysisSettings.ModelType = ALTASolverModel.Arrhenius
 ADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull
 ADS.AnalysisSettings.Analysis = ALTASolverMethod.MLE
 ADS.AnalysisSettings.UngroupGroupedData = False
 ADS.AnalysisSettings.SortBeforeCalculations = True