BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Object that can generate the material profile of a sample as a function of depth.
The generated profile contains the complex SLD for SLD materials and the parameters delta and beta for refractive index materials
Definition at line 34 of file ProfileHelper.h.
Public Member Functions | |
ProfileHelper (const SliceStack &stack) | |
~ProfileHelper ()=default | |
std::vector< complex_t > | calculateProfile (const std::vector< double > &z_values) const |
std::pair< double, double > | defaultLimits () const |
Private Attributes | |
const SliceStack & | m_stack |
ProfileHelper::ProfileHelper | ( | const SliceStack & | stack | ) |
Definition at line 38 of file ProfileHelper.cpp.
|
default |
std::vector< complex_t > ProfileHelper::calculateProfile | ( | const std::vector< double > & | z_values | ) | const |
Definition at line 46 of file ProfileHelper.cpp.
References m_stack, Slice::material(), Material::materialData(), LayerRoughness::sigma(), Slice::topRoughness(), and Slice::zTop().
Referenced by swigAPI::materialProfileSLD().
std::pair< double, double > ProfileHelper::defaultLimits | ( | ) | const |
Definition at line 65 of file ProfileHelper.cpp.
References m_stack, and LayerRoughness::sigma().
Referenced by swigAPI::defaultMaterialProfileLimits().
|
private |
Definition at line 43 of file ProfileHelper.h.
Referenced by calculateProfile(), and defaultLimits().