BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ResolutionFunction2DGaussian.cpp
Go to the documentation of this file.
1 // ************************************************************************** //
2 //
3 // BornAgain: simulate and fit scattering at grazing incidence
4 //
5 //! @file Device/Resolution/ResolutionFunction2DGaussian.cpp
6 //! @brief Implements class ResolutionFunction2DGaussian.
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 
18 
20  : m_sigma_x(sigma_x), m_sigma_y(sigma_y)
21 {
22  setName("ResolutionFunction2D");
25 }
26 
27 double ResolutionFunction2DGaussian::evaluateCDF(double x, double y) const
28 {
31 }
Defines namespace MathFunctions.
Defines class RealParameter.
Defines class ResolutionFunction2DGaussian.
RealParameter & registerParameter(const std::string &name, double *parpointer)
void setName(const std::string &name)
RealParameter & setNonnegative()
ResolutionFunction2DGaussian(double sigma_x, double sigma_y)
virtual double evaluateCDF(double x, double y) const
double IntegratedGaussian(double x, double average, double std_dev)