Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputFiles | Input | str list | Comma separated list of input files. | |
InstrumentParFile | Input | string | Mandatory | PAR file containing instrument definition. Allowed extensions: [‘.dat’, ‘.par’] |
SumFiles | Input | boolean | False | Enabled to sum spectra from each input file. |
SpectraRange | Input | int list | 3,198 | Range of spectra to use. |
RebinParam | Input | string | Rebin parameters. | |
GroupingPolicy | Input | string | All | Selects the type of detector grouping to be used. Allowed values: [‘All’, ‘Individual’, ‘IPF’] |
OutputWorkspace | Output | WorkspaceGroup | Mandatory | Group name for the result workspaces. |
A version of ISISIndirectDiffractionReduction specific to use with VESUVIO (EVS) data, the reduction is performed in the same way however there is the additional option to load a PAR file.
Example - Running EVSDiffractionReduction.
EVSDiffractionReduction(InputFiles='EVS15289.raw',
OutputWorkspace='DiffractionReductions',
InstrumentParFile='IP0005.dat')
ws = mtd['DiffractionReductions'].getItem(0)
print 'Workspace name: %s' % ws.getName()
print 'Number of spectra: %d' % ws.getNumberHistograms()
print 'Number of bins: %s' % ws.blocksize()
Output:
Workspace name: vesuvio15289_diffspec_red
Number of spectra: 1
Number of bins: 3875
Categories: Algorithms | Diffraction\Reduction
Python: EVSDiffractionReduction.py