BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines objective function to fit, expected minimum, initial fit parameters and expected values of fit parameters at minimum. More...
Public Member Functions | |
MinimizerTestPlan (const std::string &name) | |
void | addParameter (const Fit::Parameter ¶m, double expected_value, double tolerance=0.01) |
std::string | name () const |
virtual bool | checkMinimizer (Fit::Minimizer &minimizer)=0 |
Runs minimization and check minimization result. | |
Protected Member Functions | |
Fit::Parameters | parameters () const |
Returns fit parameters which will be used as initial one for the minimization. | |
std::vector< double > | expectedValues () const |
Return vector of expected parameter values. | |
bool | valuesAsExpected (const std::vector< double > &values) const |
Returns true if given values coincide with expected fit parameter values. | |
Protected Attributes | |
std::string | m_name |
plan name | |
std::vector< ParameterPlan > | m_parameter_plan |
Defines objective function to fit, expected minimum, initial fit parameters and expected values of fit parameters at minimum.
Definition at line 31 of file MinimizerTestPlan.h.