BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Functions that are only used in the swig *.i files
Functions | |
std::pair< double, double > | defaultMaterialProfileLimits (const MultiLayer &sample) |
Get default z limits for generating a material profile. More... | |
std::vector< double > | generateZValues (int n_points, double z_min, double z_max) |
std::vector< complex_t > | materialProfileSLD (const MultiLayer &sample, int n_points, double z_min, double z_max) |
Calculate average material profile for given sample. More... | |
std::pair< double, double > swigAPI::defaultMaterialProfileLimits | ( | const MultiLayer & | sample | ) |
Get default z limits for generating a material profile.
Definition at line 42 of file MultiLayerFuncs.cpp.
References reSample::averageSlices(), ProfileHelper::defaultLimits(), reSample::make(), and SimulationOptions::setUseAvgMaterials().
std::vector< double > swigAPI::generateZValues | ( | int | n_points, |
double | z_min, | ||
double | z_max | ||
) |
std::vector< complex_t > swigAPI::materialProfileSLD | ( | const MultiLayer & | sample, |
int | n_points, | ||
double | z_min, | ||
double | z_max | ||
) |
Calculate average material profile for given sample.
Definition at line 31 of file MultiLayerFuncs.cpp.
References reSample::averageSlices(), ProfileHelper::calculateProfile(), generateZValues(), reSample::make(), and SimulationOptions::setUseAvgMaterials().