LoadEmptyInstrument

From MantidProject

Jump to: navigation, search

Summary

Loads an Instrument Definition File (IDF) into a workspace, with the purpose of being able to visualise an instrument without requiring to read in a raw datafile first. The name of the algorithm refers to the fact that an instrument is loaded into a workspace but without any real data - hence the reason for referring to it as an 'empty' instrument.

For more information on IDFs see InstrumentDefinitionFile.

Properties

Order Name Direction Type Default Description
1 Filename Input string Mandatory The filename (including its full or relative path) of an ISIS instrument defintion file. The file extension must either be .xml or .XML when specifying an instrument definition file.
2 OutputWorkspace Output Workspace Mandatory The name of the workspace in which to store the imported instrument.
3 detector_value Input double 1.0 This value affects the colour of the detectors in the instrument display window.
4 monitor_value Input double 2.0 This value affects the colour of the monitors in the instrument display window.

Source Code

Header LoadEmptyInstrument.h

Source LoadEmptyInstrument.cpp

Personal tools
Create a book