|
|
C_OpenExtremeStatistics |
C_OpenExtremeStatistics is used together with C_FitExtremeStatistics, C_QueryExtremeStatistics, C_CalculateExtremeStatisticsExcessesOverThreshold, C_SimulateToleranceIntervals and C_CloseExtremeStatistics to perform extreme value statistical analyses.
A typical sequence of calls to perform such an analysis is as follows:
C_GetTimeHistory2 to extract a time history for an OrcaFlex results variable.C_OpenExtremeStatistics passing in the time history and the sample interval. A handle is returned which is then used in the subsequent calls to extreme statistics analysis functions.C_CalculateExtremeStatisticsExcessesOverThreshold (potentially multiple times) to help choose a threshold for the peaks over threshold based Weibull and GPD distributions.C_FitExtremeStatistics to fit the specified extreme value statistical model to the time history.C_QueryExtremeStatistics (potentially multiple times) to extract results from the fitted statistical model.C_CloseExtremeStatistics is called to dispose of the resources associated with the handle.void C_OpenExtremeStatistics(
int NumberOfValues,
double *lpValues,
double SampleInterval,
TOrcFxAPIHandle *lpExtremeStatisticsHandle,
int *lpStatus
);
The number of values in the lpValues array.
Points to the array of values. Typically, but not necessarily, this will be generated by a call to C_GetTimeHistory2.
The interval in seconds between each consecutive value of lpValues.
Points to a variable in which the extreme statistics handle will be returned.
Points to a variable in which the status result for the function call will be returned.
C_FitExtremeStatistics, C_QueryExtremeStatistics, C_CalculateExtremeStatisticsExcessesOverThreshold, C_SimulateToleranceIntervals , C_CloseExtremeStatistics.