Indirect Inelastic Testing¶
Prerequisites
Download the ISIS Sample Data
Data reduction¶
Preparation
Instrument
IRIS
You need access to the ISIS data archive
Time required 2-5 minutes
Open
Interfaces
>Indirect
>Data reduction
Make sure
Instrument
is set toIRIS
Go to the
ISIS calibration
Enter
Input Runs
26173Click
Run
This should generate a workspace with
_calib
at the end, delete this workspaceChange the
Scale by factor
value to 0.5Click
Run
This should generate a workspace with
_calib
at the endCheck the
Create RES
boxClick
Run
This should generate a workspace with
_res
at the endIn the
Output
options, select the_res
workspace and clickPlot Spectra
. This should produce a spectrum plot.Then select the
_calib
workspace and use the down arrow to clickPlot Bins
. This should produce a bin plot.Enter
Input Runs
55878-55879 and checkSum Files
Click
Run
, this should produce a_calib
workspaceMake sure that you keep the
_calib
workspace, it is needed for the next testEnter
Input Runs
59057-59059 and checkSum Files
Set
Reflection
to 004This should produce a new
_calib
workspace, with004
in the name.Before moving on, set
Reflection
to 002
Time required 5-10 minutes
Open
Interfaces
>Indirect
>Data reduction
Make sure
Instrument
is set toIRIS
Make sure the tab is set to
ISIS Energy Transfer
Check the
Sum Files
boxIn the
Input Runs
box enter26184-26185
Click
Run
Check the
Use Calib File
boxChange
File
toWorkspace
and choose the_calib
workspace previously created (55878 from the previous test)Click
Run
In the main GUI right-click on the
iris26184_multi_graphite002_red
workspaceChoose
Plot spectrum
, note the number of spectra, should be 51Click
Cancel
In the
Data reduction
GUI, change theDetector Grouping
to GroupsSet
Groups
to 5Click
Run
In the main GUI right-click on the
iris26184_multi_graphite002_red
workspaceChoose
Plot spectrum
, note the number of spectra, should be 6Choose
Plot All
, this should result in a plot of all 6 spectraOpen
Interfaces
>Inelastic
>Data Manipulation
and go to theS(Q, W)
tabChange
File
toWorkspace
and load the_red
workspace just createdQ-Low
andQ-High
should be automatically updated to the y axis range of the contour plot.E-Low
andE-High
should be automatically updated to the x axis range of the contour plot.Click
Run
. An_sqw
workspace should be created.Check
Rebin in energy
Click
Run
Within the
Output
section, click the down arrow on thePlot Spectra
button and then selectOpen Slice Viewer
, this should open a slice viewer window.Click
Manage User Directories
and set the default save locationClick
Save Result
Check that the
.nxs
file was created in the correct location
Data analysis Elwin¶
Preparation
ISIS Sample data set, available here
Make sure that the data set is on your list of search directories
Time required 3 - 5 minutes
Go to
Interfaces
>Inelastic
>Data Manipulation
Go to the
Elwin
tabEnter
irs26176_graphite002_red.nxs
inInput file
Click
Run
- this should produce 3 new workspaces_elf
,_eq
and_eq2
Now in
Input file
choose browse, navigate to the ISIS-Sample data and select the two files above simultaneously, by using shift keyChange the integration range from -0.2 to 0.2
Click
Run
This should result in three new workspaces again, this time with file ranges as their name
In the main GUI right-click on
irs26174-26176_graphite002_red_elwin_eq2
and choosePlot Spectrum
, choosePlot All
This should plot two lines of \(ln((meV))^{-1}\) vs \(Q2\)
Right-click on the
irs26176_graphite002_elwin_eq
workspace andSave Nexus
; save to a location of your choice; you will use this file in the next test
Data analysis MSD¶
Preparation
The
_eq.nxs
file from the previous test
Time required 3 - 5 minutes
Go to
Interfaces
>Indirect
>Data Analysis
Go to the
MSD fit
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
Data analysis I(Q, T)¶
Preparation
Access to ISIS sample data
Time required 3 - 5 minutes
Go to
Interfaces
>Inelastic
>Data Manipulation
Go to the
Iqt
tabLoad the
irs26176_graphite002_red.nxs
file from the sample dataLoad the resolution file
irs26173_graphite002_res.nxs
from the sample dataClick
Run
A new workspace with the suffix
_iqt
should appear in the main GUI, it should be a workspace with 51 histograms and 86 bins. NB keep this workspace for the next testClick
Plot Current preview
this should plot the same data as the preview windowChoose some workspace indices (e.g. 0-2) in the
Output
section and clickPlot Spectra
this should give a plot with the title irs26176_graphite002_iqtClick the down arrow on the
Plot Spectra
button and then selectPlot Tiled
. This should give a tiled plot of the selected workspace indices.
Data analysis I(Q, T) Fit¶
Preparation
The
_iqt
workspace from the previous test
Time required 3 - 5 minutes
Go to
Interfaces
>Indirect
>Data Analysis
Go to the
I(Q, T) Fit
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
Data analysis Conv Fit¶
Preparation
ISIS Sample data set, available here
Time required 3 - 5 minutes
Go to
Interfaces
>Indirect
>Data Analysis
Go to the
Conv Fit
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
Data analysis F(Q) Fit¶
Preparation
ISIS Sample data set, available here
Time required 3 - 5 minutes
Go to
Interfaces
>Indirect
>Data Analysis
Go to the
F(Q) Fit
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