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.
Public Member Functions | |
ConstKBinAxis (const std::string &name, size_t nbins, double start, double end) | |
ConstKBinAxis constructor. More... | |
~ConstKBinAxis () 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 |
ConstKBinAxis * | 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 | |
ConstKBinAxis (const std::string &name, size_t nbins) | |
bool | equals (const IAxis &other) const override |
void | print (std::ostream &ostr) const override |
void | setBinBoundaries (const std::vector< double > &bin_boundaries) |
Protected Attributes | |
double | m_end |
size_t | m_nbins |
double | m_start |
ConstKBinAxis::ConstKBinAxis | ( | const std::string & | name, |
size_t | nbins, | ||
double | start, | ||
double | end | ||
) |
ConstKBinAxis constructor.
name | Axis name |
nbins | number of bins |
start | low edge of first bin |
end | upper edge of last bin |
|
overridedefault |
|
protected |
|
overrideinherited |
|
overrideinherited |
|
overrideinherited |
|
overrideinherited |
|
override |
|
override |
|
overrideprotected |
|
overrideinherited |
|
overrideinherited |
|
overrideinherited |
|
overrideinherited |
|
overrideprotected |
|
protectedinherited |
|
overrideinherited |
|
protected |
|
protectedinherited |
|
protected |