Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1022 Bytes

TimeSlice-v1.rst

File metadata and controls

47 lines (29 loc) · 1022 Bytes

Description

Used to perform integration over a given time of flight data from an indirect inelastic geometry instrument.

The peak range will be integrated to give the result over the given spectra range, the output workspace will contain the result of the integration against the spectrum number.

Optionally a calibration workspace can be provided which will be applied to the raw data before the integration is performed.

A background range can also be provided which will first calculate and subtract a flat background from the raw data before the integration is performed.

Usage

Example - Running TimeSlice

ExIndirectTransmissionSimple

TimeSlice(InputFiles=['IRS26173.raw'],

SpectraRange=[3, 53], PeakRange=[62500, 65000])

print mtd.doesExist('irs26173_slice')

Output:

ExIndirectTransmissionSimple

True