Filter Events Interface Testing¶
Prerequisites
Download the Usage Examples <https://www.mantidproject.org/installation/index#sample-data>
Filter Events¶
Time required: 10-15 minutes
Open
Interfaces
>Utility
>Filter Events
Browse for file ‘CNCS_7860_Event.nxs’ from the Usage Data set.
Click
Load
. After a few seconds, plot should be updated with a graph of summed up Counts vs.Time._Summed_..
workspace should be generated on the ADS, as well asCNCS_7860_Event
workspace.Clicking on the
Refresh
button should update the drop-down list with the name of the loaded workspace.Check the vertical dashed green range markers on the plot work properly when dragging:
Starting Time
andStopping Time
Text Edits are updated accordingly.Check the horizontal dot-dashed blue range markers on the plot work properly when dragging:
Minimum Value
andMaximum Value
Text Edits are updated accordingly.Check that the Text Edits for
Starting Time
andStopping Time
(similarly withMinimum Value
andMaximum Value
) work correctly:Position of markers on the plot are updated appropriately when changing the numerical value of the edits and pressing Enter.
Setting a value on
Starting Time
larger than the current value onStopping Time
is not allowed, and vice versa.Data Validation is working, you can’t set non-numeric characters on the edits.
Moving the mouse on the plot updates a label in the top left corner with the (x,y) position on the graph.
On
Output Name
write FilteredTemp.On
Sample Log
drop-down menu selectSampleTemp
and hit onPlot
button. Plot should update with the temperature log for the run vs. time.Move the upper vertical range marker to be at approximately
279.95
degrees and the lower vertical range marker to be at approximately279.91
degrees.Click on
Filter
button. That should generate several workspaces in the ADS. Two table workspaces ending with_info
,_splitters
and a group workspace namedFilteredTemp
containing one event workspace namedFilteredTemp_0
, as well as aTOFCorrTable
2D workspace.Right-click on
FilteredTemp_0
and selectShow Sample Logs
. On Sample Log Window, check theSampleTemp
entry and make sure the temperature range is approximately the same as selected with the markers in the interface.Back to the filter events interface, click on the
Refresh
button. The drop-down list should refresh with the available event workspaces on the ADS (CNCS_7860_Event
andFilteredTemp_0
).Select
FilteredTemp_0
and click onUse
button. Plot should update accordingly.On output name write FilteredTime, on
Starting Time
text edit write80
and then pressEnter
. OnStopping Time
text edit write100
and pressEnter
.Select
Filtered by Time
tab and onTime Interval
text edit write10
. Then click onFilter
button. Two table workspaces ending with_info
,_splitters
and a group workspace namedFilteredTime
containing two event workspaces namedFilteredTime_0
andFilteredTime_1
appear on ADS.Double-click on
FilteredTemp_0_info
table workspace. The table should contain two rows, indicating two time intervals of approximately 10 seconds each, and the corresponding workspace group index.Back to the filter events interface, without changing anything else from previous interaction, go to
Advanced Setup
tab and tick theFast Log
checkbox. Go back toFilter by Time
and click onFilter
button again. Workspace ending in_splitters
should be a 2D workspace, all other workspaces should remain the same.Now on
Algorithms
selectFilterEvents
algorithm and click onExecute
. AsInputWorkspace
selectFilteredTemp_0
workspace. On Splitter workspace selectFilteredTemp_0_splitters
, and onInformation Workspace
selectFilteredTemp_0_info
. Tick onGroupWorkspaces
checkbox. And name theOutputWorkspaceBaseName
asFilteredTimeRedux
.Run
the algorithm withGroup Workspaces
checked. On the ADS, a new group event workspace namedFilteredTimeRedux
should appear. The two event workspaces that it contains should be equal to the two event workspace previously generated through the interface,FilteredTime_0
andFilteredTime_1
.Back to the Filter Events interface. Click on
Refresh
button again, and make sure it updates with the list of all event workspaces on the ADS.