LoadLamp v1

../_images/LoadLamp-v1_dlg.png

LoadLamp dialog.

Summary

Loads HDF files exported from LAMP program at the ILL

Properties

Name Direction Type Default Description
InputFile Input string Mandatory Allowed values: [‘hdf’]
OutputWorkspace Output Workspace Mandatory  

Description

This algorithm loads processed HDF5 files produced by LAMP software at the ILL. Only 1D and 2D data are supported. The output is a point data workspace. The input file must have a tree structure similar to:

entry1
  |___data1
        |__DATA
        |__PARAMETERS
        |__X
        |__Y

Usage

Example - LoadLamp

ws = LoadLamp('ILL/LAMP/967067_LAMP.hdf')
print("ws has {0} spectrum and {1} points".format(ws.getNumberHistograms(), ws.blocksize()))

Output:

ws has 1 spectrum and 3200 points

Categories: AlgorithmIndex | DataHandling\Nexus

Source

Python: LoadLamp.py (last modified: 2018-10-05)