|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Axis with fixed bin size. More...
Inheritance diagram for FixedBinAxis:Public Member Functions | |
| FixedBinAxis (const std::string &name, size_t nbins, double start, double end) | |
| FixedBinAxis constructor. More... | |
| Bin1D | bin (size_t index) const |
| std::vector< double > | binBoundaries () const |
| double | binCenter (size_t index) const |
| std::vector< double > | binCenters () const |
| FixedBinAxis * | clone () const |
| FixedBinAxis * | createClippedAxis (double left, double right) const |
| size_t | findClosestIndex (double value) const |
| double | lowerBound () const |
| double | operator[] (size_t index) const |
| size_t | size () const |
| double | upperBound () const |
Protected Member Functions | |
| virtual bool | equals (const IAxis &other) const |
| void | print (std::ostream &ostr) const |
Axis with fixed bin size.
| 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 |