DetectorGroup

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

bases: mantid.geometry.IDetector

class mantid.geometry.DetectorGroup
__init__()

Raises an exception This class cannot be instantiated from Python

getDetectorIDs((DetectorGroup)arg1) → std_vector_int :

Returns the list of detector IDs within this group

getDistance((IComponent)arg1, (IComponent)arg2) → float :

Returns the distance, in metres, between this and the given component

getFullName((IComponent)arg1) → str :

Returns full path name of component

getID((IDetector)arg1) → int :

Returns the detector ID

getName((IComponent)arg1) → str :

Returns the name of the component

getNameSeparator((DetectorGroup)arg1) → str :

Returns separator for list of names of detectors

getPhi((IDetector)arg1) → float :

Returns the azimuthal angle of this detector

getPos((IComponent)arg1) → V3D :

Returns the absolute position of the component

getRelativeRot((IComponent)arg1) → Quat :

Returns the relative rotation as a Quat

getTwoTheta((IDetector)arg1, (V3D)arg2, (V3D)arg3) → float :

Calculate the angle between this detector, another component and an axis

isMasked((IDetector)arg1) → bool :

Returns the value of the masked flag. True means ignore this detector

isMonitor((IDetector)arg1) → bool :

Returns True if the detector is marked as a monitor in the IDF

shape((IObjComponent)arg1) → Object :

Get the object that represents the physical shape of this component

solidAngle((IDetector)arg1, (V3D)arg2) → float :

Return the solid angle in steradians between this detector and an observer

type((IComponent)arg1) → str :

Returns the type of the component represented as a string