BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
FitSuiteItem.h
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file GUI/Model/Job/FitSuiteItem.h
6
//! @brief Defines class FitSuiteItem
7
//!
8
//! @homepage http://www.bornagainproject.org
9
//! @license GNU General Public License v3 or higher (see COPYING)
10
//! @copyright Forschungszentrum Jülich GmbH 2018
11
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12
//
13
// ************************************************************************************************
14
15
#ifndef BORNAGAIN_GUI_MODEL_JOB_FITSUITEITEM_H
16
#define BORNAGAIN_GUI_MODEL_JOB_FITSUITEITEM_H
17
18
#include "
GUI/Model/BaseItem/SessionItem.h
"
19
20
class
FitParameterContainerItem
;
21
class
MinimizerContainerItem
;
22
23
class
BA_CORE_API_
FitSuiteItem
:
public
SessionItem
{
24
private
:
25
static
constexpr
auto
P_UPDATE_INTERVAL{
"Update interval"
};
26
static
constexpr
auto
P_ITERATION_COUNT{
"Number of iterations"
};
27
static
constexpr
auto
P_CHI2{
"Chi2"
};
28
static
constexpr
auto
T_FIT_PARAMETERS_CONTAINER{
"Fit parameters container"
};
29
static
constexpr
auto
T_MINIMIZER{
"Minimizer settings"
};
30
31
public
:
32
static
constexpr
auto
M_TYPE{
"FitSuite"
};
33
34
explicit
FitSuiteItem
();
35
36
FitParameterContainerItem
* createFitParametersContainer();
37
FitParameterContainerItem
* fitParameterContainerItem();
38
39
MinimizerContainerItem
* createMinimizerContainer();
40
MinimizerContainerItem
* minimizerContainerItem();
41
42
int
updateInterval()
const
;
43
void
setUpdateInterval(
int
interval);
44
static
bool
isUpdateIntervalPropertyName(
const
QString&
name
);
45
46
int
iterationCount()
const
;
47
void
setIterationCount(
int
count);
48
static
bool
isIterationCountPropertyName(
const
QString&
name
);
49
50
double
chi2()
const
;
51
void
setChi2(
double
chi2);
52
};
53
54
#endif
// BORNAGAIN_GUI_MODEL_JOB_FITSUITEITEM_H
SessionItem.h
Defines class SessionItem.
FitParameterContainerItem
The FitParameterContainerItem class is a collection of all defined fit parameters in JobItem.
Definition:
FitParameterContainerItem.h:29
FitSuiteItem
Definition:
FitSuiteItem.h:23
MinimizerContainerItem
The MinimizerContainerItem class holds collection of minimizers.
Definition:
MinimizerItem.h:44
SessionItem
Base class for a GUI data item.
Definition:
SessionItem.h:204
GUI::RealSpace::Particles::name
QString const & name(EShape k)
Definition:
particles.cpp:20
GUI
Model
Job
FitSuiteItem.h
Generated by
1.9.1