RectangularDetector
This a python binding to the C++ class Mantid::Geometry::RectangularDetector.
bases: mantid.geometry.CompAssembly, mantid.geometry.IObjComponent
-
class mantid.geometry.RectangularDetector
-
__init__()
Raises an exception
This class cannot be instantiated from Python
-
getBoolParameter((Component)self, (str)pname[, (bool)recursive=True]) → std_vector_bool
-
getDescription((Component)self) → str :
Return the description of current parameterized component
-
getDistance((IComponent)self, (IComponent)other) → float :
Returns the distance, in metres, between this and the given component
-
getFullName((IComponent)self) → str :
Returns full path name of component
-
getIntParameter((Component)self, (str)pname[, (bool)recursive=True]) → std_vector_int
-
getName((IComponent)self) → str :
Returns the name of the component
-
getNumberParameter((Component)self, (str)pname[, (bool)recursive=True]) → std_vector_dbl
-
getParamDescription((Component)self, (str)pname[, (bool)recursive=True]) → str
-
getParamShortDescription((Component)self, (str)pname[, (bool)recursive=True]) → str
-
getParameterNames((Component)self[, (bool)recursive=True]) → std_set_str
-
getParameterType((Component)self, (str)pname[, (bool)recursive=True]) → str
-
getPos((IComponent)self) → V3D :
Returns the absolute position of the component
-
getPositionParameter((Component)self, (str)pname[, (bool)recursive=True]) → std_vector_v3d
-
getRelativePos((Component)self) → V3D
-
getRelativeRot((IComponent)self) → Quat :
Returns the relative rotation as a Quat
-
getRotation((Component)self) → Quat
-
getRotationParameter((Component)self, (str)pname[, (bool)recursive=True]) → std_vector_quat
-
getShortDescription((Component)self) → str :
Return the short description of current parameterized component
-
getStringParameter((Component)self, (str)pname[, (bool)recursive=True]) → std_vector_str
-
hasParameter((Component)self, (str)name[, (bool)recursive=True]) → bool
-
idfillbyfirst_y((RectangularDetector)self) → bool :
Returns the idfillbyfirst_y
-
idstart((RectangularDetector)self) → int :
Returns the idstart
-
idstep((RectangularDetector)self) → int :
Returns the idstep
-
idstepbyrow((RectangularDetector)self) → int :
Returns the idstepbyrow
-
maxDetectorID((RectangularDetector)self) → int :
Returns the maximum detector id
-
minDetectorID((RectangularDetector)self) → int :
Returns the minimum detector id
-
nelements((ICompAssembly)self) → int :
Returns the number of elements in the assembly
-
setDescription((Component)self, (str)descr) → None :
Set component’s description, works only if the component is parameterized component
-
shape((IObjComponent)self) → IObject :
Get the object that represents the physical shape of this component
-
type((IComponent)self) → str :
Returns the type of the component represented as a string
-
xpixels((RectangularDetector)self) → int :
Returns the number of pixels in the X direction
-
xsize((RectangularDetector)self) → float :
Returns the size in the X direction
-
xstart((RectangularDetector)self) → float :
Returns the start position in the X direction
-
xstep((RectangularDetector)self) → float :
Returns the step size in the X direction
-
ypixels((RectangularDetector)self) → int :
Returns the number of pixels in the Y direction
-
ysize((RectangularDetector)self) → float :
Returns the size in the Y direction
-
ystart((RectangularDetector)self) → float :
Returns the start position in the Y direction
-
ystep((RectangularDetector)self) → float :
Returns the step size in the Y direction