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 equatorial elastic banks for the VISION instrument at the SNS.
Load all of the equatorial elastic data:
w1 = LoadVisionElasticEQ("VIS_19351.nxs.h5")
print "Number of spectra:", w1.getNumberHistograms()
Number of spectra: 12288
Load just one of the equatorial elastic banks:
w1 = LoadVisionElasticEQ("VIS_19351.nxs.h5",Banks="bank29")
print "Number of spectra:", w1.getNumberHistograms()
Number of spectra: 2048
Categories: Algorithms | DataHandling\Nexus
Python: LoadVisionElasticEQ.py