BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
A parametric distribution function, for use with any model parameter. More...
Public Member Functions | |
ParameterDistribution (const ParameterDistribution &other) | |
ParameterDistribution (const std::string &par_name, const IDistribution1D &distribution, size_t nbr_samples, double sigma_factor=0.0, const RealLimits &limits=RealLimits()) | |
ParameterDistribution (const std::string &par_name, const IDistribution1D &distribution, size_t nbr_samples, double xmin, double xmax) | |
std::vector< ParameterSample > | generateSamples () const |
generate list of sampled values with their weight | |
IDistribution1D * | getDistribution () |
const IDistribution1D * | getDistribution () const |
RealLimits | getLimits () const |
std::vector< std::string > | getLinkedParameterNames () const |
get list of linked parameter names | |
std::string | getMainParameterName () const |
get the main parameter's name | |
double | getMaxValue () const |
double | getMinValue () const |
size_t | getNbrSamples () const |
get number of samples for this distribution | |
double | getSigmaFactor () const |
get the sigma factor | |
ParameterDistribution & | linkParameter (std::string par_name) |
ParameterDistribution & | operator= (const ParameterDistribution &other) |
Overload assignment operator. | |
A parametric distribution function, for use with any model parameter.