LoadVisionElasticBS v1

../_images/LoadVisionElasticBS-v1_dlg.png

LoadVisionElasticBS dialog.

Summary

This algorithm loads only the backscattering 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 backscattering elastic banks for the VISION instrument at the SNS.

Usage

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

Source

Python: LoadVisionElasticBS.py (last modified: 2018-10-05)