FuryFitMultiple v1

../_images/FuryFitMultiple-v1_dlg.png

FuryFitMultiple dialog.

Summary

Fits an *_iqt file generated by Fury using one of the specified functions.

Properties

Name Direction Type Default Description
InputType Input string File Origin of data input - File (_red.nxs) or Workspace. Allowed values: [‘File’, ‘Workspace’]
Instrument Input string iris Instrument. Allowed values: [‘irs’, ‘iris’, ‘osi’, ‘osiris’]
Analyser Input string graphite002 Analyser & reflection. Allowed values: [‘graphite002’, ‘graphite004’]
RunNumber Input number Mandatory Sample run number
TimeMax Input number 0.2 Multiplicative scale factor
Plot Input string None Switch Plot Off/On. Allowed values: [‘None’, ‘Intensity’, ‘Tau’, ‘Beta’, ‘All’]

Description

Fits an *_iqt file generated by Fury using one of the specified functions. The functions available are either one or two exponentials (Intensity \times exp[-(x/\tau)]), a stretched exponential (Intensity \times exp[-(x/\tau)]\beta) or a combination of both an exponential and stretched exponential.

This routine was originally part of the MODES package.

Usage

Example - Running FuryFitMultiple on an reduced workspace.

#create a dummy workspace
function = "name=ExpDecay,Height=1,Lifetime=0.035"
ws = CreateSampleWorkspace("Histogram", Function="User Defined", UserDefinedFunction=function, XMin=0, XMax=0.5, BinWidth=0.01, XUnit="Time", NumBanks=1)

#load instrument defintion and parameters
LoadInstrument(ws, InstrumentName='IRIS', RewriteSpectraMap=True)
param_file = config['instrumentDefinition.directory'] + 'IRIS_graphite_002_Parameters.xml'
LoadParameterFile(ws, param_file)

ws = CropWorkspace(ws, StartWorkspaceIndex=3, EndWorkspaceIndex=12)
ws = RenameWorkspace(ws, OutputWorkspace="irs10001_graphite002_iqt")

#run FuryFitMultiple
FuryFitMultiple(RunNumber='10001', InputType='Workspace', Instrument='irs', Analyser='graphite002')

Categories: Algorithms | Workflow\MIDAS