This class represents a fit parameter of the target function to be sampled from.
More...
|
|
| Parameter (const std::string &name, double startValue, double absoluteError, boost::optional< double > lowerLimit=boost::none, boost::optional< double > upperLimit=boost::none, bool fixed=false) |
| |
|
const std::string & | GetName () const |
| |
|
void | SetName (const std::string &name) |
| |
|
double | GetStartValue () const |
| |
|
void | SetStartValue (double startValue) |
| |
|
double | GetAbsoluteError () const |
| |
|
void | SetAbsoluteError (double absoluteError) |
| |
| void | SetRelativeError (double relativeError) |
| | Sets the absolute error by multiplying a relative error argument with the before-hand configured start value. More...
|
| |
|
const boost::optional< double > & | GetLowerLimit () const |
| |
|
void | SetLowerLimit (const boost::optional< double > &lowerLimit) |
| |
|
const boost::optional< double > & | GetUpperLimit () const |
| |
|
void | SetUpperLimit (const boost::optional< double > &upperLimit) |
| |
|
bool | IsFixed () const |
| |
|
void | SetFixed (bool fixed) |
| |
| bool | IsInsideLimits (double someValue) const |
| | Checks if some parameter value is inside the configured parameter limits. More...
|
| |
| void | ConstrainToLimits (double &someValue) const |
| | If a value lies outside the parameter limits, constrain it accordingly. More...
|
| |
| bool | ReflectFromLimits (double &someValue) const |
| | If a value lies outside a parameter limits, attempt a reflection from the closer limit. More...
|
| |
This class represents a fit parameter of the target function to be sampled from.
Its purpose is to instruct the MCMC algorithm at what point in the parameter space (start value) with what step size (error) to start sampling. It also holds optional lower and upper value limits, which correspond to step-function like priors. If the property 'fixed' is set, the sampler should never vary the parameter from its start value.