Skip to content
Snippets Groups Projects
Commit 5c84e11c authored by Bhuvan Bezawada's avatar Bhuvan Bezawada
Browse files

Added link to InstrumentAccessLayers

re #22885
parent d67e888f
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
This is a python binding to the C++ class Mantid::Geometry::DetectorInfo. This is a python binding to the C++ class Mantid::Geometry::DetectorInfo.
Most of the information concerning ``DetectorInfo`` can be found in the `Instrument Access Layers <https://github.com/mantidproject/mantid/blob/9e3d799d40fda4a5ca08887e8c47f41c3316da91/docs/source/concepts/InstrumentAccessLayers.rst>`_ document.
-------- --------
Purpose Purpose
-------- --------
...@@ -13,14 +15,15 @@ Many users may need this extra information so that they can have a better unders ...@@ -13,14 +15,15 @@ Many users may need this extra information so that they can have a better unders
The ``DetectorInfo`` object is one of three objects that the user can gain access to from a workspace. The ``DetectorInfo`` object is one of three objects that the user can gain access to from a workspace.
The other two are: The other two are:
* ``SpectrumInfo``
* ``ComponentInfo`` * SpectrumInfo
* ComponentInfo
--------- ---------
Indexing Indexing
--------- ---------
The ``DetectorInfo`` object is accessed by an index going from 0 to N-1, where N is the number of detectors. The ``DetectorInfo`` object is accessed by an index going from 0 to N-1, where N is the number of detectors.
A detector index is a way of addressing and enumerating detectors in the beamline. It is important to note that the detector index is NOT the detector ID. A detector index is a way of addressing and enumerating detectors in the beamline.
A detector index can be found from a detector ID using ``indexOf``. A detector index can be found from a detector ID using ``indexOf``.
------- -------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment