BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
A fittable parameter with value, error, step, and limits. More...
Public Member Functions | |
Parameter (const std::string &name, double value, const AttLimits &limits=AttLimits::limitless(), double step=0.0) | |
Fit parameter constructor. More... | |
double | error () const |
AttLimits | limits () const |
std::string | name () const |
void | setError (double value) |
void | setValue (double value) |
double | startValue () const |
double | step () const |
double | value () const |
A fittable parameter with value, error, step, and limits.
Parameter::Parameter | ( | const std::string & | name, |
double | value, | ||
const AttLimits & | limits = AttLimits::limitless() , |
||
double | step = 0.0 |
||
) |
Fit parameter constructor.
name | unique name of fit parameters |
value | starting value of fit parameter |
limits | fit parameter limits |
step | initial step of fit parameter during the minimization, will be calculated automatically, if zero. |