ISISIndirectDiffractionReduction v1

../_images/ISISIndirectDiffractionReduction-v1_dlg.png

ISISIndirectDiffractionReduction dialog.

Summary

Performs a diffraction reduction for a set of raw run files for an ISIS indirect spectrometer

Properties

Name Direction Type Default Description
InputFiles Input str list   Comma separated list of input files.
ContainerFiles Input str list   Comma separated list of input files for the empty container runs.
ContainerScaleFactor Input number 1 Factor by which to scale the container runs.
CalFile Input string   Filename of the .cal file to use in the [[AlignDetectors]] and [[DiffractionFocussing]] child algorithms.
InstrumentParFile Input string   PAR file containing instrument definition. For VESUVIO only. Allowed extensions: [‘.dat’, ‘.par’]
VanadiumFiles Input str list   Comma separated array of vanadium runs
SumFiles Input boolean False Enabled to sum spectra from each input file.
LoadLogFiles Input boolean True Load log files when loading runs
Instrument Input string IRIS Instrument used for run. Allowed values: [‘IRIS’, ‘OSIRIS’, ‘TOSCA’, ‘VESUVIO’]
Mode Input string diffspec Diffraction mode used. Allowed values: [‘diffspec’, ‘diffonly’]
SpectraRange Input int list   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’, ‘Workspace’, ‘IPF’]
GroupingWorkspace Input Workspace   Workspace containing spectra grouping.
OutputWorkspace Output WorkspaceGroup Mandatory Group name for the result workspaces.

Description

The generic routine used to reduce diffraction runs from indirect geometry inelastic instruments at ISIS.

Usage

Example - Running ISISIndirectDiffractionReduction.

ISISIndirectDiffractionReduction(InputFiles='IRS21360.raw',
                                 OutputWorkspace='DiffractionReductions',
                                 Instrument='IRIS',
                                 Mode='diffspec',
                                 SpectraRange=[105,112])

ws = mtd['DiffractionReductions'].getItem(0)

print('Workspace name: {}'.format(ws.name()))
print('Number of spectra: {:d}'.format(ws.getNumberHistograms()))
print('Number of bins: {}'.format(ws.blocksize()))

Output:

Workspace name: iris21360_diffspec_red
Number of spectra: 1
Number of bins: 1934

Categories: AlgorithmIndex | Diffraction\Reduction

Source

Python: ISISIndirectDiffractionReduction.py (last modified: 2019-06-28)