BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Axis with fixed bin size in sin(angle) space used for numerical comparison with IsGisaxs. The main feature of the axis is that it produces zero bin sizes.
Public Member Functions | |
CustomBinAxis (const std::string &name, size_t nbins, double start, double end) | |
CustomBinAxis constructor. More... | |
~CustomBinAxis () override=default | |
Bin1D | bin (size_t index) const override |
std::vector< double > | binBoundaries () const override |
double | binCenter (size_t index) const override |
std::vector< double > | binCenters () const override |
void | clip (double lower, double upper) override |
CustomBinAxis * | clone () const override |
size_t | findClosestIndex (double value) const override |
double | max () const override |
double | min () const override |
double | operator[] (size_t index) const override |
size_t | size () const override |
Protected Member Functions | |
bool | equals (const IAxis &other) const override |
void | print (std::ostream &ostr) const override |
void | setBinBoundaries (const std::vector< double > &bin_boundaries) |
Protected Attributes | |
std::vector< double > | m_bin_centers |
double | m_end |
size_t | m_nbins |
double | m_start |
CustomBinAxis::CustomBinAxis | ( | const std::string & | name, |
size_t | nbins, | ||
double | start, | ||
double | end | ||
) |
CustomBinAxis constructor.
name | Axis name |
nbins | number of bins |
start | center of first bin (IsGisaxs convention) |
end | center of last bin (IsGisaxs convention) |
|
overridedefault |
|
override |
|
overrideinherited |
|
overrideinherited |
|
override |
|
override |
|
override |
|
overrideprotected |
|
overrideinherited |
|
overrideinherited |
|
overrideinherited |
|
overrideinherited |
|
overrideprotected |
|
protectedinherited |
|
overrideinherited |
|
protected |
|
protected |
|
protectedinherited |
|
protected |