LoadILLSANS v1

../_images/LoadILLSANS-v1_dlg.png

LoadILLSANS dialog.

Summary

Loads a ILL nexus files for SANS instruments.

Properties

Name Direction Type Default Description
Filename Input string Mandatory Name of the SPE file to load. Allowed extensions: [‘.nxs’]
OutputWorkspace Output MatrixWorkspace Mandatory The name to use for the output workspace

Description

Loads an ILL D33 nexus file into a Workspace2D with the given name.

This loader reads the detector positions from the NeXus file and places all the five detectors (front and back) at the right positions. It supports both TOF and non TOF modes.

Usage

Example - Load ILL D33 NeXus file:

# Load ILL D33 data file into a workspace 2D.
ws = Load('ILLD33_sample_001425.nxs')

print("This workspace has {} dimensions and has {} histograms.".format(ws.getNumDims(), ws.getNumberHistograms()))

Output:

This workspace has 2 dimensions and has 65538 histograms.

Categories: Algorithms | DataHandling\Nexus | ILL\SANS

Source

C++ source: LoadILLSANS.cpp (last modified: 2017-10-24)

C++ header: LoadILLSANS.h (last modified: 2016-06-17)