![]() |
BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Scan type with inclination angles as coordinate values and a unique wavelength. Features footprint correction.
Public Member Functions | |
AlphaScan (double wl, const IAxis &inc_angle) | |
AlphaScan (double wl, int nbins, double alpha_i_min, double alpha_i_max) | |
Sets angle-defined specular scan. The first parameter is always a wavelength in nm. Second parameter is either a numpy array of incident angles in radians or an IAxis object with angle values. Alternatively an axis can be defined in-place, then the second passed parameter is the number of bins, third - minimum on-axis angle value, fourth - maximum on-axis angle value. More... | |
AlphaScan (double wl, std::vector< double > inc_angle) | |
~AlphaScan () override | |
AlphaScan * | clone () const override |
void | setAbsoluteAngularResolution (const IRangedDistribution &distr, const std::vector< double > &std_dev) |
Sets angular resolution values via IRangedDistribution and values of standard deviations. std_dev can be either single-valued or a numpy array. In the latter case the length of the array should coinside with the length of the inclination angle axis. More... | |
void | setAbsoluteAngularResolution (const IRangedDistribution &distr, double std_dev) |
void | setAbsoluteWavelengthResolution (const IRangedDistribution &distr, const std::vector< double > &std_dev) |
Sets wavelength resolution values via IRangedDistribution and values of standard deviations. std_dev can be either single-valued or a numpy array. In the latter case the length of the array should coinside with the length of the inclination angle axis. More... | |
void | setAbsoluteWavelengthResolution (const IRangedDistribution &distr, double std_dev) |
void | setAngleResolution (const ScanResolution &resolution) |
Sets angle resolution values via ScanResolution object. More... | |
void | setFootprintFactor (const IFootprintFactor *f_factor) |
Sets footprint correction factor. More... | |
void | setRelativeAngularResolution (const IRangedDistribution &distr, const std::vector< double > &rel_dev) |
Sets angular resolution values via IRangedDistribution and values of relative deviations (that is, rel_dev equals standard deviation divided by the mean value). rel_dev can be either single-valued or a numpy array. In the latter case the length of the array should coinside with the length of the inclination angle axis. More... | |
void | setRelativeAngularResolution (const IRangedDistribution &distr, double rel_dev) |
void | setRelativeWavelengthResolution (const IRangedDistribution &distr, const std::vector< double > &rel_dev) |
Sets wavelength resolution values via IRangedDistribution and values of relative deviations (that is, rel_dev equals standard deviation divided by the mean value). rel_dev can be either single-valued or a numpy array. In the latter case the length of the array should coinside with the length of the inclination angle axis. More... | |
void | setRelativeWavelengthResolution (const IRangedDistribution &distr, double rel_dev) |
void | setWavelengthResolution (const ScanResolution &resolution) |
Sets wavelength resolution values via ScanResolution object. More... | |
double | wavelength () const override |
AlphaScan::AlphaScan | ( | double | wl, |
std::vector< double > | inc_angle | ||
) |
AlphaScan::AlphaScan | ( | double | wl, |
const IAxis & | inc_angle | ||
) |
AlphaScan::AlphaScan | ( | double | wl, |
int | nbins, | ||
double | alpha_i_min, | ||
double | alpha_i_max | ||
) |
Sets angle-defined specular scan. The first parameter is always a wavelength in nm. Second parameter is either a numpy array of incident angles in radians or an IAxis object with angle values. Alternatively an axis can be defined in-place, then the second passed parameter is the number of bins, third - minimum on-axis angle value, fourth - maximum on-axis angle value.
|
override |
|
override |
void AlphaScan::setAbsoluteAngularResolution | ( | const IRangedDistribution & | distr, |
const std::vector< double > & | std_dev | ||
) |
Sets angular resolution values via IRangedDistribution and values of standard deviations. std_dev can be either single-valued or a numpy array. In the latter case the length of the array should coinside with the length of the inclination angle axis.
void AlphaScan::setAbsoluteAngularResolution | ( | const IRangedDistribution & | distr, |
double | std_dev | ||
) |
void AlphaScan::setAbsoluteWavelengthResolution | ( | const IRangedDistribution & | distr, |
const std::vector< double > & | std_dev | ||
) |
Sets wavelength resolution values via IRangedDistribution and values of standard deviations. std_dev can be either single-valued or a numpy array. In the latter case the length of the array should coinside with the length of the inclination angle axis.
void AlphaScan::setAbsoluteWavelengthResolution | ( | const IRangedDistribution & | distr, |
double | std_dev | ||
) |
void AlphaScan::setAngleResolution | ( | const ScanResolution & | resolution | ) |
Sets angle resolution values via ScanResolution object.
void AlphaScan::setFootprintFactor | ( | const IFootprintFactor * | f_factor | ) |
Sets footprint correction factor.
void AlphaScan::setRelativeAngularResolution | ( | const IRangedDistribution & | distr, |
const std::vector< double > & | rel_dev | ||
) |
Sets angular resolution values via IRangedDistribution and values of relative deviations (that is, rel_dev equals standard deviation divided by the mean value). rel_dev can be either single-valued or a numpy array. In the latter case the length of the array should coinside with the length of the inclination angle axis.
void AlphaScan::setRelativeAngularResolution | ( | const IRangedDistribution & | distr, |
double | rel_dev | ||
) |
void AlphaScan::setRelativeWavelengthResolution | ( | const IRangedDistribution & | distr, |
const std::vector< double > & | rel_dev | ||
) |
Sets wavelength resolution values via IRangedDistribution and values of relative deviations (that is, rel_dev equals standard deviation divided by the mean value). rel_dev can be either single-valued or a numpy array. In the latter case the length of the array should coinside with the length of the inclination angle axis.
void AlphaScan::setRelativeWavelengthResolution | ( | const IRangedDistribution & | distr, |
double | rel_dev | ||
) |
void AlphaScan::setWavelengthResolution | ( | const ScanResolution & | resolution | ) |
Sets wavelength resolution values via ScanResolution object.
|
override |