LoadILLIndirect v2

../_images/LoadILLIndirect-v2_dlg.png

LoadILLIndirect dialog.

Summary

Loads a ILL/IN16B nexus file.

Properties

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

Description

This algorithm loads a .nxs file produced by IN16B back-scattering spectrometer at ILL. It supports both QENS and FWS types of data, both with or without mirror sense. The number of active single detectors, and their actual positions are read from the .nxs file overriding the ones in the instrument definition. The output workspace will be dimensionless containing the number of counts per energy channel for each detector pixel. It will have empty x-axis unit.

Usage

Example - Load ILL IN16B NeXus file:

# Load ILL IN16B data file into a workspace 2D.
ws = LoadILLIndirect('ILL/IN16B/136555.nxs')

print("ws has {0} spectra and {1} bins".format(ws.getNumberHistograms(),ws.blocksize()))
ws has 2051 spectra and 2048 bins

Categories: AlgorithmIndex | DataHandling\Nexus | ILL\Indirect

Source

C++ source: LoadILLIndirect2.cpp (last modified: 2019-07-22)

C++ header: LoadILLIndirect2.h (last modified: 2019-07-22)