IDetector#

This is a Python binding to the C++ class Mantid::Geometry::IDetector.

bases: mantid.geometry.IObjComponent

class mantid.geometry.IDetector#
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 (deprecated, use ComponentInfo.name)

getID((IDetector)self) int :#

Returns the detector ID (deprecated, use DetectorInfo.detectorIDs)

getName((IComponent)self) str :#

Returns the name of the component (deprecated, use ComponentInfo.name)

getPhi((IDetector)self) float :#

Returns the azimuthal angle of this detector (deprecated, use DetectorInfo.azimuthal)

getPos((IComponent)self) mantid.kernel._kernel.V3D :#

Returns the absolute position of the component (deprecated, use ComponentInfo.position)

getRelativeRot((IComponent)self) mantid.kernel._kernel.Quat :#

Returns the relative rotation as a Quat (deprecated, use ComponentInfo.relativeRotation)

getTwoTheta((IDetector)self, (mantid.kernel._kernel.V3D)observer, (mantid.kernel._kernel.V3D)axis) float :#

Calculate the angle between this detector, another component and an axis (deprecated, use DetectorInfo.twoTheta)

shape((IObjComponent)self) IObject :#

Get the object that represents the physical shape of this component (deprecated, use ComponentInfo.shape)

solidAngle((IDetector)self, (mantid.kernel._kernel.V3D)observer) float :#

Return the solid angle in steradians between this detector and an observer (deprecated, use ComponentInfo.solidAngle)

type((IComponent)self) str :#

Returns the type of the component represented as a string (deprecated, use ComponentInfo.componentType)