Indirect Inelastic Testing¶
Prerequisites
Download the ISIS Sample Data
Data reduction¶
Preparation
Instrument
IRISYou need access to the ISIS data archive
Time required 2-5 minutes
Open
Interfaces>Indirect>Data reductionMake sure
Instrumentis set toIRISGo to the
ISIS calibrationEnter
Input Runs26173Click
RunThis should generate a workspace with
_calibat the end, delete this workspaceChange the
Scale by factorvalue to 0.5Click
RunThis should generate a workspace with
_calibat the endCheck the
Create RESboxClick
RunThis should generate a workspace with
_resat the endIn the
Outputoptions, select the_resworkspace and clickPlot Spectra. This should produce a spectrum plot.Then select the
_calibworkspace and use the down arrow to clickPlot Bins. This should produce a bin plot.Enter
Input Runs55878-55879 and checkSum FilesClick
Run, this should produce a_calibworkspaceMake sure that you keep the
_calibworkspace, it is needed for the next testEnter
Input Runs59057-59059 and checkSum FilesSet
Reflectionto 004This should produce a new
_calibworkspace, with004in the name.Before moving on, set
Reflectionto 002
Time required 5-10 minutes
Open
Interfaces>Indirect>Data reductionMake sure
Instrumentis set toIRISMake sure the tab is set to
ISIS Energy TransferCheck the
Sum FilesboxIn the
Input Runsbox enter26184-26185Click
RunCheck the
Use Calib FileboxChange
FiletoWorkspaceand choose the_calibworkspace previously created (55878 from the previous test)Click
RunIn the main GUI right-click on the
iris26184_multi_graphite002_redworkspaceChoose
Plot spectrum, note the number of spectra, should be 51Click
CancelIn the
Data reductionGUI, change theDetector Groupingto GroupsSet
Groupsto 5Click
RunIn the main GUI right-click on the
iris26184_multi_graphite002_redworkspaceChoose
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 Manipulationand go to theS(Q, W)tabChange
FiletoWorkspaceand load the_redworkspace just createdQ-LowandQ-Highshould be automatically updated to the y axis range of the contour plot.E-LowandE-Highshould be automatically updated to the x axis range of the contour plot.Click
Run. An_sqwworkspace should be created.Check
Rebin in energyClick
RunWithin the
Outputsection, click the down arrow on thePlot Spectrabutton and then selectOpen Slice Viewer, this should open a slice viewer window.Click
Manage User Directoriesand set the default save locationClick
Save ResultCheck that the
.nxsfile 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 ManipulationGo to the
ElwintabEnter
irs26176_graphite002_red.nxsinInput fileClick
Run- this should produce 3 new workspaces_elf,_eqand_eq2Now in
Input filechoose 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
RunThis 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_eq2and choosePlot Spectrum, choosePlot AllThis should plot two lines of \(ln((meV))^{-1}\) vs \(Q2\)
Right-click on the
irs26176_graphite002_elwin_eqworkspace andSave Nexus; save to a location of your choice; you will use this file in the next test
Data analysis MSD¶
Preparation
The
_eq.nxsfile from the previous test
Time required 3 - 5 minutes
Go to
Interfaces>Indirect>Data AnalysisGo to the
MSD fittabClick
Add WorkspaceWith the combo box set to
Fileclick browse and select the file that you saved in the previous testCheck
All SpectraClick
Addand close the dialogue.Set
Fit typeto GaussianClick
RunThis should produce a plot of the fitted function in the interface
Change
End Xto 1.0Click
RunRepeat the previous steps with
PetersandYifunctionsTry run fits using the different
Minimizeroptions (except FABADA), each time change theEnd Xvalue 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 ManipulationGo to the
IqttabLoad the
irs26176_graphite002_red.nxsfile from the sample dataLoad the resolution file
irs26173_graphite002_res.nxsfrom the sample dataClick
RunA new workspace with the suffix
_iqtshould 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 previewthis should plot the same data as the preview windowChoose some workspace indices (e.g. 0-2) in the
Outputsection and clickPlot Spectrathis should give a plot with the title irs26176_graphite002_iqtClick the down arrow on the
Plot Spectrabutton and then selectPlot Tiled. This should give a tiled plot of the selected workspace indices.
Data analysis I(Q, T) Fit¶
Preparation
The
_iqtworkspace from the previous test
Time required 3 - 5 minutes
Go to
Interfaces>Indirect>Data AnalysisGo to the
I(Q, T) FittabClick
Add WorkspaceWith the combo box set to
Workspaceselect the_iqtworkspace from the previous testCheck
All SpectraClick
Addand close the dialogue.Set
Exponentialto 1In the data table set
EndXfor WS Index 0 to 0.14Using shift select the
EndXfor all spectra and click unify range, this should set theEndXfor all spectra to 0.14Click
RunThis should produce a fit and a difference plot in the window
Click
Plot current previewthis should open a plot with three datasets plottedSelect the runs 6 - 50 and click
RemoveClick
RunSelect Lifetime from the
Outputdrop-downClick
Plotthis 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 AnalysisGo to the
Conv FittabClick
Add WorkspaceWith the combo box’s set to
FileClick browse and load the
irs26176_graphite002_red.nxsfile from the sample dataClick browse and load the resolution file
irs26173_graphite002_res.nxsfrom the sample dataIn Workspace Indices enter
0-5Click
Addand close the dialogue.Set
Lorentziansto 2Set
Max iterationsto 400Click
RunThree new workspaces should be created in the main GUI -
Parameters,ResultandWorkspacesIn the
Mini plotswidget, changePlot Spectrumto 3Click
Fit Single Spectrumthe 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
Plotoptions in the interfaceOutputdrop-down set to All and clickPlot- should give 5 separate plotsPlot Current Preview- should result in a plot with three datasetsEnable the
Plot Guesscheckbox - should not change anything, but should not break anything either!
Change the
Fit typeto 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 AnalysisGo to the
F(Q) FittabClick
Add WorkspaceWith the combo box set to
Workspaceselect the0-5__Resultworkspace from the previous testIn Parameter Name select
f1.f0.FWHMClick
Addand close the dialogue.Under
Fit TypeselectTeixeiraWaterClick
RunThree new workspaces should be created in the main GUI -
Parameters,ResultandWorkspacesChange the
Fit typeto different functions and run fits