Inelastic QENS Fitting Testing¶
Prerequisites
Download the ISIS Sample Data
Make sure that the data set is on your list of search directories
MSD tab¶
Preparation
The
_eq.nxs
file from the Elwin Indirect Inelastic test
Time required 3 - 5 minutes
Go to
Interfaces
>Inelastic
>QENS fitting
Go to the
MSD
tabClick
Add Workspace
With the combo box set to
File
click browse and select the file that you saved in the previous testCheck
All Spectra
Click
Add
and close the dialogue.Set
Fit type
to GaussianClick
Run
This should produce a plot of the fitted function in the interface
Change
End X
to 1.0Click
Run
Repeat the previous steps with
Peters
andYi
functionsTry run fits using the different
Minimizer
options (except FABADA), each time change theEnd X
value either + or - 0.1
I(Q, T) tab¶
Preparation
The
_iqt
workspace from the I(Q, T) Indirect Inelastic test
Time required 3 - 5 minutes
Go to
Interfaces
>Inelastic
>QENS fitting
Go to the
I(Q, T)
tabClick
Add Workspace
With the combo box set to
Workspace
select the_iqt
workspace from the previous testCheck
All Spectra
Click
Add
and close the dialogue.Set
Exponential
to 1In the data table set
EndX
for WS Index 0 to 0.14Using shift select the
EndX
for all spectra and click unify range, this should set theEndX
for all spectra to 0.14Click
Run
This should produce a fit and a difference plot in the window
Click
Plot current preview
this should open a plot with three datasets plottedSelect the runs 6 - 50 and click
Remove
Click
Run
Select Lifetime from the
Output
drop-downClick
Plot
this should open a new plot with the lifetimes plotted
Convolution tab¶
Preparation
ISIS Sample data set, available here
Time required 3 - 5 minutes
Go to
Interfaces
>Inelastic
>QENS fitting
Go to the
Convolution
tabClick
Add Workspace
With the combo box’s set to
File
Click browse and load the
irs26176_graphite002_red.nxs
file from the sample dataClick browse and load the resolution file
irs26173_graphite002_res.nxs
from the sample dataIn Workspace Indices enter
0-5
Click
Add
and close the dialogue.Set
Lorentzians
to 2Set
Max iterations
to 400Click
Run
Three new workspaces should be created in the main GUI -
Parameters
,Result
andWorkspaces
In the
Mini plots
widget, changePlot Spectrum
to 3Click
Fit Single Spectrum
the plot should update and new workspaces are created in the main Mantid GUIRemove spectra 0-2, then remove spectra 5. do these as separate removals.
Click
Run
; the plot should update and new workspaces are created in the main Mantid GUITry the various
Plot
options in the interfaceOutput
drop-down set to All and clickPlot
- should give 5 separate plotsPlot Current Preview
- should result in a plot with three datasetsEnable the
Plot Guess
checkbox - should not change anything, but should not break anything either!
Change the
Fit type
to different functions and run fits
Function (Q) tab¶
Preparation
The
_Result
workspace output from the Convolution tab test
Time required 3 - 5 minutes
Go to
Interfaces
>Inelastic
>QENS fitting
Go to the
Function (Q)
tabClick
Add Workspace
With the combo box set to
Workspace
select the0-5__Result
workspace from the previous testIn Parameter Name select
f1.f0.FWHM
Click
Add
and close the dialogue.Under
Fit Type
selectTeixeiraWater
Click
Run
Three new workspaces should be created in the main GUI -
Parameters
,Result
andWorkspaces
Change the
Fit type
to different functions and run fits