BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Object that can generate the material profile of a sample as a function of depth. More...
Public Member Functions | |
ProfileHelper (const ProcessedSample &sample) | |
~ProfileHelper () | |
std::vector< complex_t > | calculateProfile (const std::vector< double > &z_values) const |
std::pair< double, double > | defaultLimits () const |
Private Attributes | |
std::vector< complex_t > | m_materialdata |
std::vector< double > | m_sigmas |
std::vector< double > | m_zlimits |
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 36 of file ProfileHelper.h.
ProfileHelper::ProfileHelper | ( | const ProcessedSample & | sample | ) |
Definition at line 33 of file ProfileHelper.cpp.
References ProcessedSample::averageSlices(), ProcessedSample::bottomRoughness(), m_materialdata, m_sigmas, m_zlimits, ProcessedSample::numberOfSlices(), and ProcessedSample::sliceBottomZ().
|
default |
std::vector< complex_t > ProfileHelper::calculateProfile | ( | const std::vector< double > & | z_values | ) | const |
Definition at line 60 of file ProfileHelper.cpp.
References m_materialdata, m_sigmas, and m_zlimits.
Referenced by swigAPI::materialProfileSLD().
std::pair< double, double > ProfileHelper::defaultLimits | ( | ) | const |
Definition at line 75 of file ProfileHelper.cpp.
References m_sigmas, and m_zlimits.
Referenced by swigAPI::defaultMaterialProfileLimits().
|
private |
Definition at line 45 of file ProfileHelper.h.
Referenced by ProfileHelper(), and calculateProfile().
|
private |
Definition at line 47 of file ProfileHelper.h.
Referenced by ProfileHelper(), calculateProfile(), and defaultLimits().
|
private |
Definition at line 46 of file ProfileHelper.h.
Referenced by ProfileHelper(), calculateProfile(), and defaultLimits().