Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
DetectorInfo.rst 1.15 KiB

DetectorInfo

Introduction

DetectorInfo provides faster and simpler access to instrument/beamline detector geometry and metadata as required by Mantid :ref:`Algorithms <Algorithm>` than was possible using :ref:`Instrument`. DetectorInfo and :ref:`ComponentInfo` are designed as full replacements to :ref:`Instrument`.

:ref:`Instrument Access Layers <InstrumentAccessLayers>` provides details on how DetectorInfo interacts with other geometry access layers.

Python Interface

Example of using DetectorInfo in python

Mask detectors at some distance from the source

Output: