LoadVisionElasticEQ v1

../_images/LoadVisionElasticEQ-v1_dlg.png

LoadVisionElasticEQ dialog.

Summary

This algorithm loads only the equatorial elastic detectors on VISION.

Properties

Name Direction Type Default Description
Filename Input string Mandatory Allowed extensions: [‘.nxs.h5’]
Banks Input string all  
OutputWorkspace Output Workspace 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: Algorithms | DataHandling\Nexus

Source

Python: LoadVisionElasticEQ.py (last modified: 2017-09-06)