CalibrationResult

class CalibrationResult(*args)

Calibration result.

Returned by calibration algorithms, see CalibrationAlgorithm.

Parameters
parameterPriorDistribution

The prior distribution of the parameter.

parameterPosteriorDistribution

The posterior distribution of the parameter.

parameterMapsequence of float

The maximum a posteriori estimate of the parameter.

observationsErrorDistribution

The distribution of the observations error.

outputObservationsSample

The sample of output observations.

residualFunctionFunction

The residual function.

Notes

The residual function returns model(inputObservations) - outputObservations.

Methods

getClassName(self)

Accessor to the object’s name.

getId(self)

Accessor to the object’s id.

getName(self)

Accessor to the object’s name.

getObservationsError(self)

Accessor to the observations error distribution.

getOutputObservations(self)

Accessor to the output observations.

getParameterMAP(self)

Accessor to the maximum a posteriori parameter estimate.

getParameterPosterior(self)

Accessor to the parameter posterior distribution.

getParameterPrior(self)

Accessor to the parameter prior distribution.

getResidualFunction(self)

Accessor to the residual function.

getShadowedId(self)

Accessor to the object’s shadowed id.

getVisibility(self)

Accessor to the object’s visibility state.

hasName(self)

Test if the object is named.

hasVisibleName(self)

Test if the object has a distinguishable name.

setName(self, name)

Accessor to the object’s name.

setObservationsError(self, observationsError)

Accessor to the observations error distribution.

setOutputObservations(self, outputObservations)

Accessor to the output observations.

setParameterMAP(self, parameterMAP)

Accessor to the maximum a posteriori parameter estimate.

setParameterPosterior(self, parameterPosterior)

Accessor to the parameter posterior distribution.

setParameterPrior(self, parameterPrior)

Accessor to the parameter prior distribution.

setResidualFunction(self, residualFunction)

Accessor to the residual function.

setShadowedId(self, id)

Accessor to the object’s shadowed id.

setVisibility(self, visible)

Accessor to the object’s visibility state.

__init__(self, \*args)

Initialize self. See help(type(self)) for accurate signature.

getClassName(self)

Accessor to the object’s name.

Returns
class_namestr

The object class name (object.__class__.__name__).

getId(self)

Accessor to the object’s id.

Returns
idint

Internal unique identifier.

getName(self)

Accessor to the object’s name.

Returns
namestr

The name of the object.

getObservationsError(self)

Accessor to the observations error distribution.

Returns
observationsErrorDistribution

The observations error distribution.

getOutputObservations(self)

Accessor to the output observations.

Returns
outputObservationsSample

The sample of output observations.

getParameterMAP(self)

Accessor to the maximum a posteriori parameter estimate.

Returns
parameterPosteriorPoint

The maximum a posteriori parameter estimate.

getParameterPosterior(self)

Accessor to the parameter posterior distribution.

Returns
parameterPosteriorDistribution

The posterior distribution of the parameter.

getParameterPrior(self)

Accessor to the parameter prior distribution.

Returns
parameterPriorDistribution

The prior distribution of the parameter.

getResidualFunction(self)

Accessor to the residual function.

Returns
residualFunctionFunction

The residual function.

getShadowedId(self)

Accessor to the object’s shadowed id.

Returns
idint

Internal unique identifier.

getVisibility(self)

Accessor to the object’s visibility state.

Returns
visiblebool

Visibility flag.

hasName(self)

Test if the object is named.

Returns
hasNamebool

True if the name is not empty.

hasVisibleName(self)

Test if the object has a distinguishable name.

Returns
hasVisibleNamebool

True if the name is not empty and not the default one.

setName(self, name)

Accessor to the object’s name.

Parameters
namestr

The name of the object.

setObservationsError(self, observationsError)

Accessor to the observations error distribution.

Parameters
observationsErrorDistribution

The observations error distribution.

setOutputObservations(self, outputObservations)

Accessor to the output observations.

Parameters
outputObservationsSample

The sample of output observations.

setParameterMAP(self, parameterMAP)

Accessor to the maximum a posteriori parameter estimate.

Parameters
parameterPosteriorsequence of float

The maximum a posteriori parameter estimate.

setParameterPosterior(self, parameterPosterior)

Accessor to the parameter posterior distribution.

Parameters
parameterPosterior: Distribution

The posterior distribution of the parameter.

setParameterPrior(self, parameterPrior)

Accessor to the parameter prior distribution.

Parameters
parameterPrior: Distribution

The prior distribution of the parameter.

setResidualFunction(self, residualFunction)

Accessor to the residual function.

Parameters
residualFunctionFunction

The residual function.

setShadowedId(self, id)

Accessor to the object’s shadowed id.

Parameters
idint

Internal unique identifier.

setVisibility(self, visible)

Accessor to the object’s visibility state.

Parameters
visiblebool

Visibility flag.