\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
Filename | Input | string | Mandatory | Allowed extensions: [‘.nxs.h5’] |
Banks | Input | string | all | |
OutputWorkspace | Output | Workspace | Mandatory |
This is a helper algorithm to load data from the backscattering elastic banks for the VISION instrument at the SNS.
Load all of the backscattering elastic data:
w1 = LoadVisionElasticBS("VIS_19351.nxs.h5")
print("Number of spectra: {}".format(w1.getNumberHistograms()))
Number of spectra: 20480
Load just one of the backscattering elastic banks:
w1 = LoadVisionElasticBS("VIS_19351.nxs.h5",Banks="bank20")
print("Number of spectra: {}".format(w1.getNumberHistograms()))
Number of spectra: 2048
Categories: AlgorithmIndex | DataHandling\Nexus
Python: LoadVisionElasticBS.py (last modified: 2020-03-27)