IMDDimension

This a python binding to the C++ class Mantid::Geometry::IMDDimension.

class mantid.geometry.IMDDimension
__init__()

Raises an exception This class cannot be instantiated from Python

getBinWidth((IMDDimension)self) → float :

Return the width of each bin.

getDimensionId((IMDDimension)self) → str :

Return a short name which identify the dimension among other dimension.A dimension can be usually find by its ID and various

getMDFrame((IMDDimension)self) → MDFrame :

Return the multidimensional frame for this dimension.

getMaximum((IMDDimension)self) → float :

Return the maximum extent of this dimension

getMinimum((IMDDimension)self) → float :

Return the maximum extent of this dimension

getNBins((IMDDimension)self) → int :

Return the number of bins dimension have (an integrated has one). A axis directed along dimension would have getNBins+1 axis points.

getNBoundaries((IMDDimension)self) → int :

Return the number of bins boundaries (axis points) dimension have (an integrated has two). A axis directed along dimension would have getNBins+1 axis points.

getName((IMDDimension)self) → str :

Return the name of the dimension as can be displayed along the axis

getUnits((IMDDimension)self) → str :

Return the units associated with this dimension.

getX((IMDDimension)self, (int)ind) → float :

Return coordinate of the axis at the given index

name

Return the name of the dimension as can be displayed along the axis