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

LoadLLB v1

../_images/LoadLLB-v1_dlg.png

LoadLLB dialog.

Summary

Loads LLB nexus file.

Properties

Name

Direction

Type

Default

Description

Filename

Input

string

Mandatory

The name of the Nexus file to load. Allowed extensions: [‘.nxs’, ‘.hdf’]

OutputWorkspace

Output

MatrixWorkspace

Mandatory

The name to use for the output workspace

Description

Loads an LLB MIBEMOL TOF NeXus file into a Workspace2D with the given name.

This loader calculates the elastic peak position (EPP) on the fly.

To date this algorithm only supports the MIBEMOL instrument.

Usage

Example - Load a LLB MIBEMOL NeXus file: (see LoadLLB v1 for more options)

# Load the MIBEMOL dataset into a workspace2D.
ws = Load('LLB_d22418.nxs')

print("This workspace has {} dimensions and its title is: ".format(ws.getNumDims(), ws.getTitle()))

Output:

This workspace has 2 dimensions and its title is: Lysozyme/D2O (c=80 mg/ml) Treg=293 K, Tch=288 K wl=5.2A sous pression (4.5 kbar)

Categories: AlgorithmIndex | DataHandling\Nexus

Source

C++ header: LoadLLB.h

C++ source: LoadLLB.cpp