ALTADataSet Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) |
||
Line 12: | Line 12: | ||
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. | 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 | '''Add/Remove Failures''' | ||
*[[ALTADataSet.AddFailure|AddFailure( Double, Integer, Object() )]] {{APIComment|{{Template:ALTADataSet.AddFailure1.Cmt}}}} | *[[ALTADataSet.AddFailure|AddFailure( Double, Integer, Object() )]] {{APIComment|{{Template:ALTADataSet.AddFailure1.Cmt}}}} | ||
*[[ALTADataSet.AddFailure|AddFailure( Double, Integer, Object )]] {{APIComment|{{Template:ALTADataSet.AddFailure2.Cmt}}}} | *[[ALTADataSet.AddFailure|AddFailure( Double, Integer, Object )]] {{APIComment|{{Template:ALTADataSet.AddFailure2.Cmt}}}} | ||
*[[ALTADataSet.AddFailure|AddFailure( Double, Integer, Object, Object )]] {{APIComment|{{Template:ALTADataSet.AddFailure3.Cmt}}}} | *[[ALTADataSet.AddFailure|AddFailure( Double, Integer, Object, Object )]] {{APIComment|{{Template:ALTADataSet.AddFailure3.Cmt}}}} | ||
'''Add/Remove Suspensions''' | |||
*[[ALTADataSet.AddSuspension|AddSuspension( Double, Integer, Object() )]] {{APIComment|{{Template:ALTADataSet.AddSuspension1.Cmt}}}} | *[[ALTADataSet.AddSuspension|AddSuspension( Double, Integer, Object() )]] {{APIComment|{{Template:ALTADataSet.AddSuspension1.Cmt}}}} | ||
*[[ALTADataSet.AddSuspension|AddSuspension( Double, Integer, Object )]] {{APIComment|{{Template:ALTADataSet.AddSuspension2.Cmt}}}} | *[[ALTADataSet.AddSuspension|AddSuspension( Double, Integer, Object )]] {{APIComment|{{Template:ALTADataSet.AddSuspension2.Cmt}}}} |
Revision as of 00:09, 25 February 2014
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() Creates a new ALTADataSet object with an empty data set name.
- ALTADataSet( String ) Creates a new ALTADataSet object with the user-specified data set name.
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 Failures
- AddFailure( Double, Integer, Object() ) Adds failure times to the data set, using the specified time, the number of failures at that time and an array of stress values/profiles for all the stresses.
- AddFailure( Double, Integer, Object ) Adds failure times to the data set, using the specified time, the number of failures at that time and a single stress value/profile.
- AddFailure( Double, Integer, Object, Object ) Adds failure times to the data set, using the specified time, the number of failures at that time and two stress values/profiles.
Add/Remove Suspensions
- AddSuspension( Double, Integer, Object() ) Adds suspensions to the data set, using the specified time, the number of suspensions at that time and an array of stress values/profiles for all the stresses.
- AddSuspension( Double, Integer, Object ) Adds suspensions to the data set, using the specified time, the number of suspensions at that time and a single stress value/profile.
- AddSuspension( Double, Integer, Object, Object ) Adds suspensions to the data set, using the specified time, the number of suspensions at that time and two stress values/profiles.
- 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 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
- AnalysisSettings Sets some of the control panel analysis settings for use with the ALTADataSet.Calculate method.
- GeneralSettings Sets some of the Application Setup calculation options that can apply to the ALTADataSet.Calculate method.
- PlotUseStress Sets or gets the use stress value of a particular stress for use in plots (not calculations), using the specified stress index.
- StressRelation Sets or gets the stress transformation of a particular stress, using the specified stress index.
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.