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.
Public Member Functions | |
FixedBinAxis (const std::string &name, size_t nbins, double start, double end) | |
FixedBinAxis constructor. More... | |
~FixedBinAxis () 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 |
FixedBinAxis * | 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 |
FixedBinAxis::FixedBinAxis | ( | const std::string & | name, |
size_t | nbins, | ||
double | start, | ||
double | end | ||
) |
FixedBinAxis constructor.
name | Axis name |
nbins | number of bins |
start | low edge of first bin |
end | upper edge of last bin |
|
overridedefault |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
overrideprotected |
|
override |
|
override |
|
override |
|
override |
|
overrideprotected |
|
override |