Inelastic Data Processor Testing¶
Prerequisites
Download the ISIS Sample Data
Make sure that the data set is on your list of search directories
Symmetrise tab¶
Time required 5-10 minutes
Go to
Interfaces>Inelastic>Data ProcessorGo to the
SymmetrisetabOn the File Input, click on
Browse, a dialog window should prompt.Find the file
irs26176_graphite002_red.nxsfrom the ISIS Sample Data and Load it.The first spectrum should be rendered in the plot browser.
On the plot, drag and move the rightmost vertical green slider to be approximately at 0.4 on the x-axis, the value of
Ehighshould change accordingly.Move the other slider to be approximately at 0.2 on the x-axis, the value of
Elowshould change accordingly.Click on the
Previewbutton. The symmetrised plot should be rendered on the preview graph.Click the
Runbutton.A Workspace named
irs26176_graphite002_sym_pn_redshould be created on the ADS.On the Output widget, click on
Plot Spectrabutton. A new plot window should appear with the same plot as the preview.On the Symmetrise Property Browser: Change the value of
ElowandEhighproperties and see that the vertical green sliders. respond accordingly, but only when the input values are within range. It shouldn’t be possible to setElowto the right ofEhighand viceversa. At the same time, it shouldn’t be possible to enter negative numbers, or positive numbers larger than the maximum data range.Change the value of
Spectrum Noproperty to 5 and see that the spectra on the plot is updated.Change the
ReflectTypeproperty fromPositive to NegativetoNegative to Positive, the sliders should move to the negative range of the spectra.Now
Ehighshould be closer to 0 thanElow. Repeat checks of step 12, noting that only negative inputs can be entered now.Set
Ehighto -0.1 andElowto -0.3 and click on thePreviewbutton. The symmetrise plot should be rendered on the preview graph. The axis data range must go from -0.3 to 0.3.Click on the
Runbutton.A Workspace named
irs26176_graphite002_sym_np_redshould be created on the ADS.On the ADS, select
irs26176_graphite002_sym_np_redand right-click to selectPlot -> Spectrum.... OnSpectrum Numbersselect 5. Check that the spectrum is the same as the one in thePreviewplot of the symmetrise interface.
\(S(Q, \omega)\) tab¶
Time required 10-15 minutes
1. ISIS data¶
Go to
Interfaces>Inelastic>Data ProcessorGo to the
S(Q,w)tabOn the File Input, click on
Browse, a dialog window should prompt.Find the file
irs26176_graphite002_red.nxsfrom the ISIS Sample Data and Load it.The data will be plot as a contour plot in the interface.
Set Q Low, Q Width and Q High to be 0.45, 0.05 and 1, respectively.
Click Run button.
There should be two new workspaces in the ADS with the prefixes
_sqwand_rqw.On Output options of the interface. Select from the drop-down menu on the right of the
Plot Spectrabutton the option toOpen Slice Viewerand click.A
Slice Viewerwindow should prompt, check on theSlice Viewerthat the spectra slices range in q-values from 0.45 to 1.Back on the interface, check Rebin in Energy and change
E LowandE Highto be -0.2 and 0.2.Click Run. A new rebinned workspace with suffix _r should appear on the ADS.
On Output options of the interface. Select from the drop-down menu on the right of the
Plot Spectrabutton the option toPlot 3D Surfaceand click.The resulting 3D plot should range in the Energy Transfer axis from -0.2 to 0.2 \(meV\).
Don’t remove yet the workspace with suffix
_sqwfrom the ADS as you will use it for the Moments interface test.Repeat instructions 4 to 10, but loading instead the
MAR27691_red.nxsfile from the ISIS Sample Data set.
2. ILL data¶
Go to
Interfaces>Inelastic>Data ProcessorGo to the
S(Q,w)tabOpen the Settings widget from the bottom left of the interface, and untick Restrict allowed input files by name (recommended)
On the File Input, click on
Browse, a dialog window should prompt.Find the file
243489-243506ElwinHeat_H2O-HSA-stw.nxsfrom the SystemTest data directory and Load it.The data will be plot as a contour plot in the interface.
The Q Low, Q Width and Q High will be automatically set to 0.2, 0.05 and 2.25 respectively.
Click Run button.
There should be two new workspaces in the ADS with the prefixes
_sqwand_rqw.Open the Settings widget from the bottom left of the interface, and tick Restrict allowed input files by name (recommended)
Moments tab¶
Time required 2-3 minutes
1. Indirect data¶
Go to
Interfaces>Inelastic>Data ProcessorGo to the
MomentstabOn the File Input, change the drop-down selector from
FiletoWorkspace.Select the previously generated workspace
irs26176_graphite002_sqwfrom the selector.First spectrum should be rendered on the plot widget, with two vertical sliders placed on the integration limits, the limits on the sliders and on the property browser should match.
Change the limits by moving the sliders to be at -0.2 and 0.2, respectively. On the property browser,
EMinandEMaxshould be updated with the new limits.Click the
Runbutton.The Preview plot should be updated with a representation of the first three moments with respect to Q. A workspace with the suffix _Moments should be generated on the ADS.
On the Output edit, the name of the output workspace should be greyed out. The spectra numbers box should also be disabled, and should read 0,2,4. Click on the
Plot Spectrabutton. A plot window should be generated with three of the calculated moments.
2. Invalid data¶
Go to
Interfaces>Inelastic>Data ProcessorGo to the
MomentstabOn the File Input, click on
Browse, a dialog window should prompt.Find the file
MAR27698_red.nxsfrom the ISIS Sample Data and Load it.Click the
Runbutton.There should be a red error message in the logger. No data should be plotted in the bottom embedded plot.
Elwin tab¶
Time required 3 - 5 minutes for each
1. Direct data¶
Go to
Interfaces>Inelastic>Data ProcessorGo to the
ElwintabClick on
Add Workspaces, a dialog window should prompt.Enter
MAR27691_red.nxsinInput file. The table of the dialog should be populated with theMAR2791_redworkspace.Select the workspace from the table and click on
Add Data. Close the dialog.Back on
Elwintab, clickRun- this should produce 3 new workspaces_elf,_eqand_eq2Open the
Add Workspacesdialog again, and inInput filechoosebrowse. Navigate to the ISIS-Sample data and select the two files,MAR27691_red.nxsandMAR27698_red.nxsusing shift key.Add the loaded workspaces
Click
RunThis should result in three new workspaces again, this time with file ranges as their name
In the main GUI right-click on
MAR27691-27698_red_elwin_eq2and choosePlot Spectrum, choosePlot AllThis should plot two lines of \(ln(Counts(microAmp.hour))^{-1}\) vs \(Q2\)
2. Indirect data¶
Go to
Interfaces>Inelastic>Data ProcessorClick on
Add Workspaces, a dialog window should promptEnter
irs26174_graphite002_red.nxsinInput file. The table of the dialog should be populated with theirs26174_graphite002_redworkspace.Select the workspace from the table and click on
Add Data. Close the dialog.Back on
Elwintab, clickRun- this should produce 3 new workspaces_elf,_eqand_eq2Right-click on the
irs26174_graphite002_red_elwin_eqworkspace andSave Nexus; save to a location of your choice. NB keep this workspace if you are doing the QENS Fitting Manual TestRemove the Workspace from the interface by clicking on the
Select Allbutton and then theRemove Selectedbutton.Open the
Add Workspacesdialog again, there should be airs26174_graphite002_redworkspace on the table withWs Indexequal to0-50.In
Input filechooseBrowse. Navigate to the ISIS-Sample data folder and select the fileirs26176_graphite002_red.nxs. A new entry,irs26176_graphite002_red, should be added to the data table, withWs Indexequal to0-50. (beware that there is airs26176_graphite002_red.nxsfile on theUsage Dataset. This is NOT the correct file for this test, it should be loaded from the Sample Data-ISIS set)With both workspaces on the data table, click on the
Select Allbutton and then on theAdd Databutton. Both workspaces should be added to theElwininterface.Change 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\)
I(Q, t) tab¶
Time required 3 - 5 minutes for each
1. Direct data¶
Go to
Interfaces>Inelastic>Data ProcessorGo to the
IqttabLoad the
MARI27691_sqw.nxsfile from the sample dataLoad the resolution file
MARI27698_sqw.nxsfrom the sample dataClick
RunA new workspace with the suffix
_iqtshould appear in the main GUI, it should be a workspace with 17 histograms and 3 bins.Click
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 MARI27691_iqtClick the down arrow on the
Plot Spectrabutton and then selectPlot Tiled. This should give a tiled plot of the selected workspace indices.
2. Indirect data¶
Go to
Interfaces>Inelastic>Data ProcessorGo 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 if you are doing the QENS Fitting Manual 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.