BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
ConstantBackground Class Reference

Description

Constant background, to be added to simulated scattering.

Inheritance diagram for ConstantBackground:

Public Member Functions

 ConstantBackground (double background_value)
 
 ConstantBackground (std::vector< double > P)
 
double addBackground (double intensity) const override
 
double backgroundValue () const
 
std::string className () const final
 
ConstantBackgroundclone () const override
 
std::vector< ParaMeta > parDefs () const final
 

Constructor & Destructor Documentation

◆ ConstantBackground() [1/2]

ConstantBackground::ConstantBackground ( std::vector< double >  P)

◆ ConstantBackground() [2/2]

ConstantBackground::ConstantBackground ( double  background_value)

Member Function Documentation

◆ addBackground()

double ConstantBackground::addBackground ( double  intensity) const
overridevirtual

Implements IBackground.

◆ backgroundValue()

double ConstantBackground::backgroundValue ( ) const

◆ className()

std::string ConstantBackground::className ( ) const
final

◆ clone()

ConstantBackground* ConstantBackground::clone ( ) const
overridevirtual

Implements IBackground.

◆ parDefs()

std::vector<ParaMeta> ConstantBackground::parDefs ( ) const
final