Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.07 KB

ISISIndirectDiffractionReduction-v1.rst

File metadata and controls

47 lines (30 loc) · 1.07 KB

Description

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

Workflow

ISISIndirectDiffractionReduction-v1_wkflw.dot

Usage

Example - Running ISISIndirectDiffractionReduction.

ExISISIndirectDiffractionReductionSimple

ISISIndirectDiffractionReduction(InputFiles='IRS21360.raw',

OutputWorkspace='DiffractionReductions', Instrument='IRIS', Mode='diffspec', SpectraRange=[105,112])

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:

ExISISIndirectDiffractionReductionSimple

Workspace name: IRS21360_diffspec_red Number of spectra: 1 Number of bins: 1935