LoadMcStasNexus v1#
Warning
LoadMcStasNexus is deprecated (on 2026-01-14). Use LoadMcStas instead.
Summary#
Loads an McStas NeXus file into a group workspace.
See Also#
Properties#
Name |
Direction |
Type |
Default |
Description |
|---|---|---|---|---|
Filename |
Input |
string |
Mandatory |
The name of the Nexus file to load. Allowed extensions: [‘.h5’, ‘.nxs’] |
OutputWorkspace |
Output |
Mandatory |
An output workspace. |
Description#
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: AlgorithmIndex | DataHandling\Nexus | Deprecated
Source#
C++ header: LoadMcStasNexus.h
C++ source: LoadMcStasNexus.cpp