ALTAAnalysisOptions Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
*SortBeforeCalculations (as ''boolean'') {{APIComment|{{Template:ALTAAnalysisOptions.SortBeforeCalculations.Cmt}}}}
*SortBeforeCalculations (as ''boolean'') {{APIComment|{{Template:ALTAAnalysisOptions.SortBeforeCalculations.Cmt}}}}


== Formatted Usage Example ==
== Usage Example ==
{{APIComment|Declare the ALTADataSet. See [[New ALTADataSet]] for additional details.}}
{{APIComment|Declare the ALTADataSet. See [[New ALTADataSet]] for additional details.}}
         Dim ALTADS as New ALTADataSet
         Dim ALTADS as New ALTADataSet

Revision as of 00:08, 11 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

Declare the ALTADataSet. See New ALTADataSet for additional details.

       Dim ALTADS as New ALTADataSet

Set the various Settings.

       ALTADS.AnalysisSettings.ModelType = ALTASolverModel.Arrhenius
       ALTADS.AnalysisSettings.Distribution = ALTASolverDistribution.Weibull
       ALTADS.AnalysisSettings.Analysis = ALTASolverMethod.MLE
       ALTADS.AnalysisSettings.UngroupGroupedData = False
       ALTADS.AnalysisSettings.SortBeforeCalculations = True