15 #ifndef BORNAGAIN_BASE_AXIS_CUSTOMBINAXIS_H
16 #define BORNAGAIN_BASE_AXIS_CUSTOMBINAXIS_H
43 void print(std::ostream& ostr)
const;
Defines class VariableBinAxis.
Axis with fixed bin size in sin(angle) space used for numerical comparison with IsGisaxs.
Bin1D bin(size_t index) const
retrieve a 1d bin for the given index
CustomBinAxis * createClippedAxis(double left, double right) const
Creates a new clipped axis.
void print(std::ostream &ostr) const
CustomBinAxis * clone() const
clone function
bool equals(const IAxis &other) const
CustomBinAxis(const std::string &name, size_t nbins, double start, double end)
CustomBinAxis constructor.
std::vector< double > m_bin_centers
std::vector< double > binCenters() const
Interface for one-dimensional axes.
Axis with variable bin size.
QString const & name(EShape k)