Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
Filename | Input | string | Mandatory | File path of the Data file to load. Allowed extensions: [‘.nxs’] |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | The name to use for the output workspace |
Loads an ILL Reflectometry instrument NeXus file into a Workspace2D with the given name.
This loader reads the detector position from the NeXus file and places it at the right position. It supports both TOF and non TOF modes.
To date this Loader only supports D17 data.
Example - Load ILL D17 NeXus file:
# Load ILL D17 data file into a workspace 2D.
ws = Load('ILLD17_111686.nxs')
print "This workspace has", ws.getNumDims(), "dimensions and has", ws.getNumberHistograms(), "histograms."
Output:
This workspace has 2 dimensions and has 258 histograms.
Categories: Algorithms | DataHandling