Table of Contents
Creates a calibration workspace in energy trnasfer for IN16B.This algorithm is deprecated (20-Nov-2016). Use IndirectILLReductionQENS instead.
Name | Direction | Type | Default | Description |
---|---|---|---|---|
Run | Input | string | Mandatory | Comma separated list of input files |
MirrorMode | Input | boolean | False | Data uses mirror mode |
MapFile | Input | string | Comma separated list of input files. Allowed values: [‘xml’] | |
PeakRange | Input | dbl list | 0,100 | Peak range in energy transfer |
ScaleFactor | Input | number | 1 | Intensity scaling factor |
OutputWorkspace | Output | Workspace | Mandatory | Output workspace for calibration data |
Warning
This algorithm is deprecated (20-Nov-2016). Please, use IndirectILLReductionQENS instead.
A workflow algorithm to generate a calibration workspace for the IN16B spectrometer at the ILL.
This first reduces the data using the IndirectILLReduction algorithm and then integrates each spectrum within the peak range.
Example - Creating a calibration workspace
calibration_ws = ILLIN16BCalibration(Run='ILLIN16B_034745.nxs',
PeakRange=[-0.001,0.002],
MirrorMode=True)
print 'Calibration workspace has %d spectra and %d bin(s)' % (
calibration_ws.getNumberHistograms(), calibration_ws.blocksize())
Output:
Calibration workspace has 18 spectra and 1 bin(s)
Categories: Algorithms | Workflow\Inelastic | Inelastic\Calibration
Python: ILLIN16BCalibration.py