ALTAAnalysisOptions Class: Difference between revisions

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


== Usage Example ==
== Usage Example ==
{{APIComment|Declare the ALTADataSet. See [[ALTADataSet Constructors]] for additional details.}}
This example demonstrate how to set the AnalysisSettings property.
        Dim ALTADS as New ALTADataSet
{{APIComment|'Declare the ALTADataSet. See [[ALTADataSet Constructors]].}}
 
  Dim ALTADS as New ALTADataSet
{{APIComment|Set the various settings.}}
 
        ALTADS.AnalysisSettings.ModelType = ALTASolverModel.Arrhenius
{{APIComment|'Specify all the settings in the AnalysisSettings property.}}
        ALTADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull
  ALTADS.AnalysisSettings.ModelType = ALTASolverModel.Arrhenius
        ALTADS.AnalysisSettings.Analysis = ALTASolverMethod.MLE
  ALTADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull
        ALTADS.AnalysisSettings.UngroupGroupedData = False
  ALTADS.AnalysisSettings.Analysis = ALTASolverMethod.MLE
        ALTADS.AnalysisSettings.SortBeforeCalculations = True
  ALTADS.AnalysisSettings.UngroupGroupedData = False
  ALTADS.AnalysisSettings.SortBeforeCalculations = True

Revision as of 16:27, 19 March 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

This example demonstrate how to set the AnalysisSettings property.

 'Declare the ALTADataSet. See ALTADataSet Constructors. 
 Dim ALTADS as New ALTADataSet
 
 'Specify all the settings in the AnalysisSettings property. 
 ALTADS.AnalysisSettings.ModelType = ALTASolverModel.Arrhenius
 ALTADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull
 ALTADS.AnalysisSettings.Analysis = ALTASolverMethod.MLE
 ALTADS.AnalysisSettings.UngroupGroupedData = False
 ALTADS.AnalysisSettings.SortBeforeCalculations = True