|
BornAgain
1.18.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... | |
| std::string | name () const |
| double | startValue () const |
| AttLimits | limits () const |
| double | value () const |
| void | setValue (double value) |
| double | step () const |
| double | error () const |
| void | setError (double value) |
A fittable parameter with value, error, step, and limits.
Definition at line 27 of file Parameter.h.
| 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. |
Definition at line 33 of file Parameter.cpp.