\(\renewcommand\AA{\unicode{x212B}}\)
LoadVisionElasticEQ v1¶
Summary¶
This algorithm loads only the equatorial elastic detectors on VISION.
See Also¶
Properties¶
Name |
Direction |
Type |
Default |
Description |
---|---|---|---|---|
Filename |
Input |
string |
Mandatory |
Allowed extensions: [‘.nxs.h5’] |
Banks |
Input |
string |
all |
|
OutputWorkspace |
Output |
Mandatory |
Description¶
This is a helper algorithm to load data from the equatorial elastic banks for the VISION instrument at the SNS.
Usage¶
Load all of the equatorial elastic data:
w1 = LoadVisionElasticEQ("VIS_19351.nxs.h5")
print("Number of spectra: {}".format(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: {}".format(w1.getNumberHistograms()))
Number of spectra: 2048
Categories: AlgorithmIndex | DataHandling\Nexus
Source¶
Python: LoadVisionElasticEQ.py