\(\renewcommand\AA{\unicode{x212B}}\)

ISISIndirectEnergyTransferWrapper v1

../_images/ISISIndirectEnergyTransferWrapper-v1_dlg.png

ISISIndirectEnergyTransferWrapper dialog.

Summary

Runs an energy transfer reduction for an inelastic indirect geometry instrument. It is a wrapper for the ISISIndirectEnergyTransfer algorithm.

See Also

ISISIndirectEnergyTransfer

Properties

Name

Direction

Type

Default

Description

InputFiles

Input

str list

Comma separated list of input files

SumFiles

Input

boolean

False

Toggle input file summing or sequential processing

LoadLogFiles

Input

boolean

True

Load log files when loading runs

CalibrationWorkspace

Input

Workspace

Workspace containing calibration data

Instrument

Input

string

Mandatory

Instrument used during run. Allowed values: [‘IRIS’, ‘OSIRIS’, ‘TOSCA’, ‘TFXA’]

Analyser

Input

string

Mandatory

Analyser bank used during run. Allowed values: [‘graphite’, ‘mica’, ‘fmica’]

Reflection

Input

string

Mandatory

Reflection number for instrument setup during run. Allowed values: [‘002’, ‘004’, ‘006’]

Efixed

Input

number

Optional

Overrides the default Efixed value for the analyser/reflection selection.

SpectraRange

Input

long list

0,1

Comma separated range of spectra number to use.

BackgroundRange

Input

dbl list

Range of background to subtract from raw data in time of flight.

RebinString

Input

string

Rebin string parameters.

DetailedBalance

Input

number

Optional

ScaleFactor

Input

number

1

Factor by which to scale result.

FoldMultipleFrames

Input

boolean

True

Folds multiple framed data sets into a single workspace.

GroupingMethod

Input

string

IPF

Method used to group spectra. Allowed values: [‘Individual’, ‘All’, ‘File’, ‘Workspace’, ‘IPF’, ‘Custom’]

GroupingWorkspace

Input

Workspace

Workspace containing spectra grouping.

GroupingString

Input

string

Spectra to group as string

MapFile

Input

string

Workspace containing spectra grouping. Allowed extensions: [‘.map’]

UnitX

Input

string

DeltaE

X axis units for the result workspace. Allowed values: [‘DeltaE’, ‘DeltaE_inWavenumber’]

OutputWorkspace

Output

WorkspaceGroup

Mandatory

Workspace group for the resulting workspaces.

Description

Performs a reduction from raw time of flight to energy transfer for an inelastic indirect geometry instrument at ISIS. It does exactly the same thing as the ISISIndirectEnergyTransfer algorithm except the recording of child histories is turned off to avoid misleading output file sizes.

Usage

Note

To run these usage examples please first download the usage data, and add these to your path. In Mantid this is done using Manage User Directories.

Example - IRIS energy conversion

ISISIndirectEnergyTransferWrapper(InputFiles='IRS21360.raw',
                                  OutputWorkspace='IndirectReductions',
                                  Instrument='IRIS',
                                  Analyser='graphite',
                                  Reflection='002',
                                  SpectraRange=[3, 53])

reduction_workspace_names = mtd['IndirectReductions'].getNames()

for workspace_name in reduction_workspace_names:
   print(workspace_name)

Output:

iris21360_graphite002_red

Categories: AlgorithmIndex | Workflow\Inelastic | Inelastic\Indirect

Source

Python: ISISIndirectEnergyTransferWrapper.py