BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Collection of methods borrowed from BornAgain for material profile calculations. More...
Functions | |
DAREFLCORE_EXPORT std::vector< complex_t > | CalculateProfile (const multislice_t &multilayer, int n_points, double z_min, double z_max) |
Calculate average material profile for given multilayer. More... | |
DAREFLCORE_EXPORT std::pair< double, double > | DefaultMaterialProfileLimits (const multislice_t &multilayer) |
Get default z limits for generating a material profile. More... | |
DAREFLCORE_EXPORT std::vector< double > | GenerateZValues (int n_points, double z_min, double z_max) |
Generate z values (equidistant) for use in MaterialProfile. More... | |
Collection of methods borrowed from BornAgain for material profile calculations.
std::vector< complex_t > gui2::MaterialProfile::CalculateProfile | ( | const multislice_t & | multilayer, |
int | n_points, | ||
double | z_min, | ||
double | z_max | ||
) |
Calculate average material profile for given multilayer.
Definition at line 22 of file materialprofile.cpp.
References gui2::ProfileHelper::calculateProfile(), gui2::Utils::createBornAgainSlices(), and GenerateZValues().
Referenced by gui2::SpecularToySimulation::sld_profile().
std::pair< double, double > gui2::MaterialProfile::DefaultMaterialProfileLimits | ( | const multislice_t & | multilayer | ) |
Get default z limits for generating a material profile.
Definition at line 32 of file materialprofile.cpp.
References gui2::Utils::createBornAgainSlices(), and gui2::ProfileHelper::defaultLimits().
Referenced by gui2::SpecularToySimulation::sld_profile().
std::vector< double > gui2::MaterialProfile::GenerateZValues | ( | int | n_points, |
double | z_min, | ||
double | z_max | ||
) |
Generate z values (equidistant) for use in MaterialProfile.
Definition at line 39 of file materialprofile.cpp.
Referenced by CalculateProfile().