LoadVesuvio v1

../_images/LoadVesuvio-v1_dlg.png

LoadVesuvio dialog.

Summary

Loads raw data produced by the Vesuvio instrument at ISIS.

Properties

Name Direction Type Default Description
Filename Input string Mandatory The run numbers that should be loaded. E.g.14188 - for single run14188-14195 - for summed consecutive runs14188,14195 - for summed non-consecutive runs
SpectrumList Input string Mandatory The spectrum numbers to load. A dash will load a range and a semicolon delimits spectra to sum
Mode Input string DoubleDifference The difference option. Valid values: [‘SingleDifference’, ‘DoubleDifference’, ‘ThickDifference’, ‘FoilOut’, ‘FoilIn’, ‘FoilInOut’]. Allowed values: [‘SingleDifference’, ‘DoubleDifference’, ‘ThickDifference’, ‘FoilOut’, ‘FoilIn’, ‘FoilInOut’]
InstrumentParFile Input string   An optional IP file. If provided the values are used to correct the default instrument values and attach the t0 values to each detector. Allowed values: [‘dat’, ‘par’]
SumSpectra Input boolean False If true then the final output is a single spectrum containing the sum of all of the requested spectra. All detector angles/parameters are averaged over the individual inputs
OutputWorkspace Output Workspace Mandatory The name of the output workspace.

Description

The Vesuvio instrument at ISIS produces RAW <http://www.mantidproject.org/Raw File> files in the standard format. However, due to the unique design of the instrument the raw counts from the input files must be manipulated before they are considered useful.

This algorithm wraps calls to LoadRaw and computes the counts (\mu s^{-1}) using the foil-cycling method described here.

The output is point data and not a histogram.

IP File

There is an option to specify an ascii instrument parameter file to specify new detector positions along with a t0 delay time parameter for each detector.

Usage

Load a single file & spectrum with default difference:

tof = LoadVesuvio("14188",SpectrumList=135)

print "Number of spectra:", tof.getNumberHistograms()

Output:

Number of spectra: 1

Sum runs on single spectrum with default difference:

tof = LoadVesuvio("14188-14193",SpectrumList=135)

print "Number of spectra:", tof.getNumberHistograms()

Output:

Number of spectra: 1

Sum runs on a range of spectra with default difference:

tof = LoadVesuvio("14188-14193",SpectrumList="135-142")

print "Number of spectra:", tof.getNumberHistograms()

Output:

Number of spectra: 8

Sum runs and spectra on a range of spectra with default difference:

tof = LoadVesuvio("14188-14193",SpectrumList="135-142", SumSpectra=True)

print "Number of spectra:", tof.getNumberHistograms()

Output:

Number of spectra: 1

Sum runs and spectra on a range of spectra using single difference method:

tof = LoadVesuvio("14188-14193",SpectrumList="135-142", SumSpectra=True,
                  Mode="SingleDifference")

print "Number of spectra:", tof.getNumberHistograms()

Output:

Number of spectra: 1

Categories: Algorithms | DataHandling\Raw