ALTADataSet Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:


== Methods  ==
== Methods  ==
Use these methods to enter data points into a data sheet and analyze them. The settings for the analysis are specified with this class's properties.


This section contains the methods that a user might use to manipulate their ALTA data set. A user may use these methods to add columns, add stress profiles, add failures, add failure intervals, add suspension internals, calculate the data set, or clear the data set. This section should be configured after the data set has been created.
'''Add/Remove Data'''
 
*'''[[ALTADataSet.AddFailure|AddFailure]]''' {{APIComment|{{Template:ALTADataSet.AddFailure.Cmt}}}}
*'''[[ALTADataSet.AddFailure|AddFailure]]''' {{APIComment|{{Template:ALTADataSet.AddFailure.Cmt}}}}
*'''[[ALTADataSet.AddSuspension|AddSuspension]]''' {{APIComment|{{Template:ALTADataSet.AddSuspension.Cmt}}}}
*'''[[ALTADataSet.AddFailureInterval|AddFailureInterval]]''' {{APIComment|{{Template:ALTADataSet.AddFailureInterval.Cmt}}}}
*'''[[ALTADataSet.AddFailureInterval|AddFailureInterval]]''' {{APIComment|{{Template:ALTADataSet.AddFailureInterval.Cmt}}}}
*'''[[ALTADataSet.AddSuspensionInterval|AddSuspensionInterval]]'''{{APIComment|{{Template:ALTADataSet.AddSuspensionInterval.Cmt}}}}
*'''[[ALTADataSet.AddStressDefinition|AddStressDefinition]]''' {{APIComment|{{Template:ALTADataSet.AddStressDefinition.Cmt}}}}
*'''[[ALTADataSet.AddStressDefinition|AddStressDefinition]]''' {{APIComment|{{Template:ALTADataSet.AddStressDefinition.Cmt}}}}
*'''[[ALTADataSet.AddStressProfile|AddStressProfile]]''' {{APIComment|{{Template:ALTADataSet.AddStressProfile.Cmt}}}}
*'''[[ALTADataSet.AddStressProfile|AddStressProfile]]''' {{APIComment|{{Template:ALTADataSet.AddStressProfile.Cmt}}}}
*'''[[ALTADataSet.AddSuspension|AddSuspension]]''' {{APIComment|{{Template:ALTADataSet.AddSuspension.Cmt}}}}
*'''[[ALTADataSet.ClearDataSet|ClearDataSet]]''' {{APIComment|{{Template:ALTADataSet.ClearDataSet.Cmt}}}}
*'''[[ALTADataSet.AddSuspensionInterval|AddSuspensionInterval]]'''{{APIComment|{{Template:ALTADataSet.AddSuspensionInterval.Cmt}}}}
 
'''Analyze Data'''
*'''[[ALTADataSet.Calculate|Calculate]]''' {{APIComment|{{Template:ALTADataSet.Calculate.Cmt}}}}
*'''[[ALTADataSet.Calculate|Calculate]]''' {{APIComment|{{Template:ALTADataSet.Calculate.Cmt}}}}
*'''[[ALTADataSet.ClearDataSet|ClearDataSet]]''' {{APIComment|{{Template:ALTADataSet.ClearDataSet.Cmt}}}}


== Properties  ==
== Properties  ==
Use these properties to specify analysis settings and view analysis results, as well as view or edit properties of the data set.


This section contains properties that a user may use to analyse the data set. The user may choose to have a data set name, have a count of failures, or set a life stress relationship.
'''Analysis Settings'''
 
*'''[[ALTADataSet.AnalysisResults|AnalysisResults]]''' {{APIComment|{{Template:ALTADataSet.AnalysisResults.Cmt}}}}
*'''[[ALTADataSet.AnalysisSettings|AnalysisSettings]]''' {{APIComment|{{Template:ALTADataSet.AnalysisSettings.Cmt}}}}
*'''[[ALTADataSet.AnalysisSettings|AnalysisSettings]]''' {{APIComment|{{Template:ALTADataSet.AnalysisSettings.Cmt}}}}
*'''[[ALTADataSet.DatasetName|DatasetName]]''' {{APIComment|{{Template:ALTADataSet.DatasetName.Cmt}}}}
*'''[[ALTADataSet.FailureCount|FailureCount]]''' {{APIComment|{{Template:ALTADataSet.FailureCount.Cmt}}}}
*'''[[ALTADataSet.FittedModel|FittedModel]]''' {{APIComment|{{Template:ALTADataSet.FittedModel.Cmt}}}}
*'''[[ALTADataSet.GeneralSettings|GeneralSettings]]''' {{APIComment|{{Template:ALTADataSet.GeneralSettings.Cmt}}}}
*'''[[ALTADataSet.GeneralSettings|GeneralSettings]]''' {{APIComment|{{Template:ALTADataSet.GeneralSettings.Cmt}}}}
*'''[[ALTADataSet.NumStresses|NumStresses]]''' {{APIComment|{{Template:ALTADataSet.NumStresses.Cmt}}}}
*'''[[ALTADataSet.PlotUseStress|PlotUseStress]]''' {{APIComment|{{Template:ALTADataSet.PlotUseStress.Cmt}}}}
*'''[[ALTADataSet.PlotUseStress|PlotUseStress]]''' {{APIComment|{{Template:ALTADataSet.PlotUseStress.Cmt}}}}
*'''[[ALTADataSet.StressRelation|StressRelation]]''' {{APIComment|{{Template:ALTADataSet.StressRelation.Cmt}}}}
*'''[[ALTADataSet.StressRelation|StressRelation]]''' {{APIComment|{{Template:ALTADataSet.StressRelation.Cmt}}}}
*'''[[ALTADataSet.SuspensionCount|SuspensionCount]]''' {{APIComment|{{Template:ALTADataSet.SuspensionCount.Cmt}}}}


== Events  ==
'''Analysis Results'''
This section allows the user to display events.
*'''[[ALTADataSet.FittedModel|FittedModel]]''' {{APIComment|{{Template:ALTADataSet.FittedModel.Cmt}}}}
*'''[[ALTADataSet.AnalysisResults|AnalysisResults]]''' {{APIComment|{{Template:ALTADataSet.AnalysisResults.Cmt}}}}


ALTAEvents contains only methods.  
'''Data Set Properties'''
*'''[[ALTADataSet.DatasetName|DatasetName]]''' {{APIComment|{{Template:ALTADataSet.DatasetName.Cmt}}}}
*'''[[ALTADataSet.FailureCount|FailureCount]]''' {{APIComment|{{Template:ALTADataSet.FailureCount.Cmt}}}}
*'''[[ALTADataSet.SuspensionCount|SuspensionCount]]''' {{APIComment|{{Template:ALTADataSet.SuspensionCount.Cmt}}}}
*'''[[ALTADataSet.NumStresses|NumStresses]]''' {{APIComment|{{Template:ALTADataSet.NumStresses.Cmt}}}}


*'''[[ALTAEvents Class|ALTAEvents]]''' {{APIComment|{{Template:ALTAEvents Class.Cmt}}}}
== Events ==
*'''[[ALTAEvents Class]]''' {{APIComment|{{Template:ALTAEvents Class.Cmt}}}}<br>

Revision as of 16:01, 11 February 2014


Provides Provides the functionality of an ALTA standard folio, including entering data in a data set, specifying analysis settings and fitting a distribution and life-stress relationship to the data set. To create plots, use the WAPlots class.

A usage example for this class is available here.

Constructors

  • ALTADataSet() Initializes a new instance of the ALTADataSet class with a system-supplied data set name.
  • ALTADataSet( ByVal Name As String ) Initializes a new instance of the ALTADataSet class with a specified data set name.

Parameters

Name: The name of the data set.

Methods

Use these methods to enter data points into a data sheet and analyze them. The settings for the analysis are specified with this class's properties.

Add/Remove Data

  • AddFailure Adds a failure time and associated stress level to the data set.
  • AddSuspension Adds a suspension and associated stress level to the data set.
  • AddFailureInterval Adds a failure interval and associated stress level to the data set.
  • AddSuspensionInterval Adds a suspension interval and associated stress level to the data set.
  • AddStressDefinition Adds a stress to the data set, using the specified name of the stress, the stress transformation (if any) and the use stress level.
  • AddStressProfile Makes an existing time-varying stress profile available for use in the analysis.
  • ClearDataSet Clears all data and stresses in the data set, and removes the fitted model, if any.

Analyze Data

  • Calculate Fits the model (i.e., distribution and life-stress relationship) to the current data set using the settings specified in the AnalysisSettings property.

Properties

Use these properties to specify analysis settings and view analysis results, as well as view or edit properties of the data set.

Analysis Settings

Analysis Results

  • FittedModel Gets the fitted model from the accelerated life testing analysis.
  • AnalysisResults Gets the likelihood function value that was estimated from the analysis.

Data Set Properties

  • DatasetName Provides the ability to retrieve or set the name of the data set.
  • FailureCount Returns the failure count within an ALTA data set.
  • SuspensionCount Returns the number of suspensions entered in the data set.
  • NumStresses Gets the total number of stresses in the data set.

Events

  • ALTAEvents Class all the event handlers that can be called by ALTADataSet. To use events, you must inherit the class, override its methods and assign its instance to the Events property of an ALTADataSet. ALTAEvents inheritance is not available in VB6/VBA.