ALTADataSet Class: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) No edit summary |
Albert Szeto (talk | contribs) |
||
Line 24: | Line 24: | ||
== Methods == | == Methods == | ||
*'''[[ClearDataSet]]''' {{APIComment|Clears all data and fitted model. All analysis settings stay unchanged.}} | *'''[[ALTADataSet.ClearDataSet]]''' {{APIComment|Clears all data and fitted model. All analysis settings stay unchanged.}} | ||
*'''[[AddStressDefinition]]''' {{APIComment|Adds a stress definition (column). The number of stresses in subsequent calls to AddFailure, AddSuspension etc. must be equal to the number of stress definitions in the data set.}} | *'''[[ALTADataSet.AddStressDefinition]]''' {{APIComment|Adds a stress definition (column). The number of stresses in subsequent calls to AddFailure, AddSuspension etc. must be equal to the number of stress definitions in the data set.}} | ||
*'''[[NumStresses]]''' {{APIComment|Returns the number of stresses in the data set.}} | *'''[[ALTADataSet.NumStresses]]''' {{APIComment|Returns the number of stresses in the data set.}} | ||
*'''[[StressRelation]]''' {{APIComment|Sets or returns life-stress relationship for a particular stress.}} | *'''[[ALTADataSet.StressRelation]]''' {{APIComment|Sets or returns life-stress relationship for a particular stress.}} | ||
*'''[[UseStress]]''' {{APIComment|Sets or returns use stress value for a particular stress. This value is used in subsequent calculations and plots.}} | *'''[[ALTADataSet.UseStress]]''' {{APIComment|Sets or returns use stress value for a particular stress. This value is used in subsequent calculations and plots.}} | ||
*'''[[AddStressProfile]]''' {{APIComment|Adds a stress profile to the data set. It then can be used as a stress for Cumulative Damage model.}} | *'''[[ALTADataSet.AddStressProfile]]''' {{APIComment|Adds a stress profile to the data set. It then can be used as a stress for Cumulative Damage model.}} | ||
*'''[[ | *'''[[ALTADataSet.AddFailure]]''' {{APIComment|Adds a failure data point to the collection of data points in the data set.}} | ||
*'''[[ALTADataSet.AddSuspension]]''' {{APIComment|Adds a suspension data point to the collection of data points in the data set.}} | |||
*'''[[ | *'''[[ALTADataSet.AddFailureInterval]]''' {{APIComment|Adds a failure interval data point to the collection of data points in the data set.}} | ||
*'''[[ALTADataSet.AddSuspensionInterval]]''' {{APIComment|Adds a suspension interval data point to the collection of data points in the data set.}} | |||
*'''[[ALTADataSet.Calculate]]''' {{APIComment|Fits a model from the raw data previously entered in the data set. Sets FittedModel property if successful. Clears it (sets to Nothing) in case of an error.}} | |||
*'''[[ | |||
*'''[[ | |||
*'''[[ | |||
Revision as of 22:49, 12 September 2013
Instantiate this class to be able to fit an ALTA model from your raw data.
Constructors
- New ALTADataSet Creates a new class that can be used to fit a model from ALTA raw data.
Properties
- DatasetName Gets or set the name of the data set.
- GeneralSettings General settings used when fitting the model or finding the best fit.
- AnalysisSettings Settings used when fitting the model.
- FittedModel Model, fitted from the raw data. See cModel class for the list of its methods below.
- FailureCount Total number of failures in the data set.
- SuspensionCount Total number of suspensions in the data set.
- NumStresses Returns the number of stresses in the data set.
- StressRelation Sets or returns life-stress relationship for a particular stress.
- UseStress Gets or sets use stress value for a particular stress. This value is used in subsequent calculations and plots.
Events
- ALTAEvents Reference to a class that contains overridable methods for handling ALTA solver events
Methods
- ALTADataSet.ClearDataSet Clears all data and fitted model. All analysis settings stay unchanged.
- ALTADataSet.AddStressDefinition Adds a stress definition (column). The number of stresses in subsequent calls to AddFailure, AddSuspension etc. must be equal to the number of stress definitions in the data set.
- ALTADataSet.NumStresses Returns the number of stresses in the data set.
- ALTADataSet.StressRelation Sets or returns life-stress relationship for a particular stress.
- ALTADataSet.UseStress Sets or returns use stress value for a particular stress. This value is used in subsequent calculations and plots.
- ALTADataSet.AddStressProfile Adds a stress profile to the data set. It then can be used as a stress for Cumulative Damage model.
- ALTADataSet.AddFailure Adds a failure data point to the collection of data points in the data set.
- ALTADataSet.AddSuspension Adds a suspension data point to the collection of data points in the data set.
- ALTADataSet.AddFailureInterval Adds a failure interval data point to the collection of data points in the data set.
- ALTADataSet.AddSuspensionInterval Adds a suspension interval data point to the collection of data points in the data set.
- ALTADataSet.Calculate Fits a model from the raw data previously entered in the data set. Sets FittedModel property if successful. Clears it (sets to Nothing) in case of an error.