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", ws.getNumDims(), "dimensions and has", ws.getNumberHistograms(), "histograms."

Output:

This workspace has 2 dimensions and has 65538 histograms.

Categories: Algorithms | DataHandling\Nexus

Source

C++ source: LoadILLSANS.cpp

C++ header: LoadILLSANS.h