CalibrationAlgorithm¶
-
class
CalibrationAlgorithm
(*args)¶ Base class for calibration algorithms.
- Parameters
- outputObservations2-d sequence of float
The output data to be fitted.
- prior
Distribution
The prior distribution of the parameter
See also
Methods
getClassName
(self)Accessor to the object’s name.
getId
(self)Accessor to the object’s id.
getImplementation
(self)Accessor to the underlying implementation.
getName
(self)Accessor to the object’s name.
getOutputObservations
(self)Accessor to the output data to be fitted.
getParameterPrior
(self)Accessor to the parameter prior distribution.
getResult
(self)Get the result structure.
run
(self)Launch the algorithm.
setName
(self, name)Accessor to the object’s name.
setResult
(self, result)Accessor to optimization result.
-
__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.
-
getImplementation
(self)¶ Accessor to the underlying implementation.
- Returns
- implImplementation
The implementation class.
-
getName
(self)¶ Accessor to the object’s name.
- Returns
- namestr
The name of the object.
-
getOutputObservations
(self)¶ Accessor to the output data to be fitted.
- Returns
- data
Sample
The output data to be fitted.
- data
-
getParameterPrior
(self)¶ Accessor to the parameter prior distribution.
- Returns
- prior
Distribution
The parameter prior distribution.
- prior
-
getResult
(self)¶ Get the result structure.
- Returns
- resCalibration:
CalibrationResult
The structure containing all the results of the calibration problem.
- resCalibration:
Notes
The structure contains all the results of the calibration problem.
-
run
(self)¶ Launch the algorithm.
Notes
It launches the algorithm and creates a
CalibrationResult
, structure containing all the results.
-
setName
(self, name)¶ Accessor to the object’s name.
- Parameters
- namestr
The name of the object.
-
setResult
(self, result)¶ Accessor to optimization result.
- Parameters
- result
CalibrationResult
Result class.
- result