\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
| Name | Direction | Type | Default | Description | 
|---|---|---|---|---|
| InputFile | Input | string | Mandatory | Allowed values: [‘hdf’] | 
| OutputWorkspace | Output | Workspace | Mandatory | 
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
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
Python: LoadLamp.py (last modified: 2020-12-17)