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

LoadNXSPE v1

Summary

Algorithm to load an NXSPE file into a workspace2D.

See Also

SaveNXSPE, LoadSPE

Properties

Name

Direction

Type

Default

Description

Filename

Input

string

Mandatory

An NXSPE file. Allowed values: [‘.nxspe’, ‘’]

OutputWorkspace

Output

MatrixWorkspace

Mandatory

The name of the workspace that will be created.

Description

Algorithm to load an NXSPE file into a workspace2D. It will create a new instrument, that can be overwritten later by the LoadInstrument algorithm.

NOTE: The final energy of indirect geometry data is not saved to this file. For indirect data, we recommend to save the data in NXS format instead.

NOTE: In the current implementation, the rendering of the NXSPE instrument is VERY memory intensive.

NOTE: This algorithm also sets to true the distribution flag on the output workspace. This is because all examples of workspaces saved to NXSPE format by the reduction algorithms are distributions (signal is count rate and should be multiplied by bin widths to get counts). SaveNXSPE v1 does not require its input is a distribution, however, and the NXSPE format does not have a distribution flag.

Usage

See SaveNXSPE v1 usage examples where Save and Load NXSPE operations are tested together.

Categories: AlgorithmIndex | DataHandling\Nexus | DataHandling\SPE | Inelastic\DataHandling

Source

C++ header: LoadNXSPE.h

C++ source: LoadNXSPE.cpp