\(\renewcommand\AA{\unicode{x212B}}\)

LoadMcStasNexus v1

../_images/ImageNotFound.png

Enable screenshots using DOCS_SCREENSHOTS in CMake

Summary

Loads an McStas NeXus file into a group workspace.

See Also

LoadMcStas

Properties

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.

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

Source

C++ header: LoadMcStasNexus.h

C++ source: LoadMcStasNexus.cpp