/usr/include/openturns/swig/SimulationResultImplementation_doc.i is in libopenturns-dev 1.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 | %define OT_SimulationResult_doc
"Simulation result.
Notes
-----
Structure created by the method run() of a :class:`~openturns.Simulation`,
and obtained thanks to the method getResult().
Examples
--------
>>> import openturns as ot
>>> ot.RandomGenerator.SetSeed(0)
>>> limitState = ot.NumericalMathFunction(['E', 'F', 'L', 'I'], ['y'], ['-F*L^3/(3.*E*I)'])
>>> # Enable the history mecanism in order to use the getImportanceFactors method
>>> limitState.enableHistory()
>>> myDistribution = ot.Normal([50., 1., 10., 5.], [1.]*4, ot.IdentityMatrix(4))
>>> output = ot.RandomVector(limitState, ot.RandomVector(myDistribution))
>>> myEvent = ot.Event(output, ot.Less(), -3.0)
>>> myLHS = ot.LHS(myEvent)
>>> myLHS.run()
>>> SimulationLHSResult = myLHS.getResult()
>>> print(SimulationLHSResult.getImportanceFactors())
[marginal 1 : 0.000722617, marginal 2 : 0.635094, marginal 3 : 0.275692, marginal 4 : 0.0884917]"
%enddef
%feature("docstring") OT::SimulationResultImplementation
OT_SimulationResult_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_getBlockSize_doc
"Accessor to the block size.
Returns
-------
blockSize : int
Number of terms in the probability simulation estimator grouped together."
%enddef
%feature("docstring") OT::SimulationResultImplementation::getBlockSize
OT_SimulationResult_getBlockSize_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_setBlockSize_doc
"Accessor to the block size.
Parameters
----------
blockSize : int, :math:`blockSize \\\\geq 0`
Number of terms in the probability simulation estimator grouped together."
%enddef
%feature("docstring") OT::SimulationResultImplementation::setBlockSize
OT_SimulationResult_setBlockSize_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_getEvent_doc
"Accessor to the event.
Returns
-------
event : :class:`~openturns.Event`
Event we want to evaluate the probability."
%enddef
%feature("docstring") OT::SimulationResultImplementation::getEvent
OT_SimulationResult_getEvent_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_getImportanceFactors_doc
"Accessor to the importance factors.
Returns
-------
importanceFactors : :class:`~openturns.NumericalPointWithDescription`
Sequence containing the importance factors with a description for each
component.
Notes
-----
The importance factors :math:`\\\\alpha_i` are evaluated from the coordinates of
the mean point of event domain :math:`\\\\vect{X}^*_{event}`, mapped into the
standard space as follows:
.. math::
\\\\alpha_i = \\\\displaystyle \\\\frac{\\\\left(U_{i}^*\\\\right)^2}{||\\\\vect{U}^*||^2}
where :math:`\\\\vect{U}^* = T(\\\\vect{X}^*_{event})`
with :math:`T` the iso-probabilistic transformation and the mean point
:math:`\\\\vect{X}^*_{event} = \\\\displaystyle \\\\frac{1}{n} \\\\sum_{i=1}^{n} \\\\vect{X}_i 1_{event}(\\\\vect{X}_i)`.
.. warning::
This notion is only available if the history mecanism of the model is
activated (see :meth:`~openturns.NumericalMathFunction.enableHistory`).
See also
--------
drawImportanceFactors"
%enddef
%feature("docstring") OT::SimulationResultImplementation::getImportanceFactors
OT_SimulationResult_getImportanceFactors_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_getMeanPointInEventDomain_doc
"Accessor to the mean point conditioned to the event realization.
Returns
-------
meanPoint : :class:`~openturns.NumericalPoint`
Mean point in the physical space of all the simulations generated by the
:class:`~openturns.Simulation` algorithm that failed into the event domain.
Notes
-----
.. warning::
This notion is only available if the history mecanism of the model is
activated (see :meth:`~openturns.NumericalMathFunction.enableHistory`)."
%enddef
%feature("docstring") OT::SimulationResultImplementation::getMeanPointInEventDomain
OT_SimulationResult_getMeanPointInEventDomain_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_getCoefficientOfVariation_doc
"Accessor to the coefficient of variation.
Returns
-------
coefficient : float
Coefficient of variation of the simulated sample which is equal to
:math:`\\\\sqrt{Var_e} / P_e` with :math:`Var_e` the variance estimate and
:math:`P_e` the probability estimate."
%enddef
%feature("docstring") OT::SimulationResultImplementation::getCoefficientOfVariation
OT_SimulationResult_getCoefficientOfVariation_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_getConfidenceLength_doc
"Accessor to the confidence length.
Parameters
----------
level : float, :math:`level \\\\in ]0, 1[`
Confidence level. By default, it is :math:`0.95`.
Returns
-------
confidenceLength : float
Length of the confidence interval at the confidence level *level*."
%enddef
%feature("docstring") OT::SimulationResultImplementation::getConfidenceLength
OT_SimulationResult_getConfidenceLength_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_getOuterSampling_doc
"Accessor to the outer sampling.
Returns
-------
outerSampling : int
Number of groups of terms in the probability simulation estimator."
%enddef
%feature("docstring") OT::SimulationResultImplementation::getOuterSampling
OT_SimulationResult_getOuterSampling_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_setOuterSampling_doc
"Accessor to the outer sampling.
Parameters
----------
outerSampling : int, :math:`outerSampling \\\\geq 0`
Number of groups of terms in the probability simulation estimator."
%enddef
%feature("docstring") OT::SimulationResultImplementation::setOuterSampling
OT_SimulationResult_setOuterSampling_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_getStandardDeviation_doc
"Accessor to the standard deviation.
Returns
-------
sigma : float
Standard deviation of the estimator at the end of the simulation."
%enddef
%feature("docstring") OT::SimulationResultImplementation::getStandardDeviation
OT_SimulationResult_getStandardDeviation_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_getVarianceEstimate_doc
"Accessor to the variance estimate.
Returns
-------
varianceEstimate : float
Variance estimate."
%enddef
%feature("docstring") OT::SimulationResultImplementation::getVarianceEstimate
OT_SimulationResult_getVarianceEstimate_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_setVarianceEstimate_doc
"Accessor to the variance estimate.
Parameters
----------
varianceEstimate : float, :math:`Var_e \\\\geq 0`
Variance estimate."
%enddef
%feature("docstring") OT::SimulationResultImplementation::setVarianceEstimate
OT_SimulationResult_setVarianceEstimate_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_getProbabilityEstimate_doc
"Accessor to the probability estimate.
Returns
-------
probaEstimate : float
Estimate of the event probability."
%enddef
%feature("docstring") OT::SimulationResultImplementation::getProbabilityEstimate
OT_SimulationResult_getProbabilityEstimate_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_setProbabilityEstimate_doc
"Accessor to the probability estimate.
Parameters
----------
probaEstimate : float, :math:`0 \\\\leq P_e \\\\leq 1`
Estimate of the event probability."
%enddef
%feature("docstring") OT::SimulationResultImplementation::setProbabilityEstimate
OT_SimulationResult_setProbabilityEstimate_doc
// ---------------------------------------------------------------------
%define OT_SimulationResult_drawImportanceFactors_doc
"Draw the importance factors as an OpenTURNS :class:`~openturns.Graph`.
.. warning::
It is necessary to enable the history of the model to perform this analysis
(see :meth:`~openturns.NumericalMathFunction.enableHistory`).
See also
--------
getImportanceFactors"
%enddef
%feature("docstring") OT::SimulationResultImplementation::drawImportanceFactors
OT_SimulationResult_drawImportanceFactors_doc
|