LoadVisionInelastic v1

../_images/LoadVisionInelastic-v1_dlg.png

LoadVisionInelastic dialog.

Summary

This algorithm loads only the inelastic detectors on VISION.

Properties

Name Direction Type Default Description
Filename Input string Mandatory Allowed values: [‘*.nxs.h5’]
Banks Input string all  
OutputWorkspace Output Workspace Mandatory  

Description

This is a helper algorithm to load data from the inelastic banks for the VISION instrument at the SNS.

Usage

Load all of the inelastic data:

w1 = LoadVisionInelastic("VIS_19351.nxs.h5")

print "Number of spectra:", w1.getNumberHistograms()
Number of spectra: 14336

Load just the forward inelastic banks:

w1 = LoadVisionInelastic("VIS_19351.nxs.h5",Banks="forward")

print "Number of spectra:", w1.getNumberHistograms()
Number of spectra: 7168

Load the backward facing inelastic banks and the forward inelastic bank3:

w1 = LoadVisionInelastic("VIS_19351.nxs.h5",Banks="backward,bank3")

print "Number of spectra:", w1.getNumberHistograms()
Number of spectra: 8192

Categories: Algorithms | DataHandling\Nexus