Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
Filename | Input | string | Mandatory | The name of the Nexus file to load. Allowed extensions: [‘.h5’, ‘.nxs’] |
OutputWorkspace | Output | Workspace | Mandatory | An output workspace. |
Reads a McStas NeXus file into a Mantid WorkspaceGroup with a user-supplied name. Data generated by McStas monitor components are stored in workspaces of type Workspace2D. All data sets are numbered and nested within the WorkspaceGroup. This algorithm is under development. To date it has been tested with the following instrument files from the McStas 2.0 instrument suite: templateDIFF, templateLaue, templateTAS, Reflectometer, Test_Pol_TripleAxis, TestSANS and Tomography. For more information about McStas and its general usage for simulating neutron scattering instruments and experiments visit the McStas homepage http://www.mcstas.org.
Categories: Algorithms | DataHandling\Nexus
C++ source: LoadMcStasNexus.cpp (last modified: 2017-06-29)
C++ header: LoadMcStasNexus.h (last modified: 2016-06-17)