Skip to content

Commit

Permalink
Automatic update of developer site
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-builder committed Feb 9, 2024
1 parent ef032b0 commit c9ed0a7
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DoxygenSetup.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="New Starter C++" href="NewStarterC%2B%2B.html" />
<link rel="prev" title="Sample Transmission Calculator Testing" href="Testing/General/SampleTransmissionCalculatorTestGuide.html" />
<link rel="prev" title="Filter Events Interface Testing" href="Testing/Utility/FilterEventsInterfaceTest.html" />

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
Expand Down Expand Up @@ -248,7 +248,7 @@ <h2>Eclipse Doxygen Setup<a class="headerlink" href="#eclipse-doxygen-setup" tit


<li>
<a href="Testing/General/SampleTransmissionCalculatorTestGuide.html" title="Previous Chapter: Sample Transmission Calculator Testing"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">&laquo; Sample Transm...</span>
<a href="Testing/Utility/FilterEventsInterfaceTest.html" title="Previous Chapter: Filter Events Interface Testing"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">&laquo; Filter Events...</span>
</a>
</li>
<li>
Expand Down
4 changes: 2 additions & 2 deletions Testing/General/SampleTransmissionCalculatorTestGuide.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="Doxygen Setup" href="../../DoxygenSetup.html" />
<link rel="next" title="Filter Events Interface Testing" href="../Utility/FilterEventsInterfaceTest.html" />
<link rel="prev" title="SANS GUI Testing" href="../SANSGUI/ISISSANSGUITests.html" />

<script>
Expand Down Expand Up @@ -226,7 +226,7 @@ <h2><a class="toc-backref" href="#id6" role="doc-backlink">Chemical Formula Vali
</a>
</li>
<li>
<a href="../../DoxygenSetup.html" title="Next Chapter: Doxygen Setup"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Doxygen Setup &raquo;</span>
<a href="../Utility/FilterEventsInterfaceTest.html" title="Next Chapter: Filter Events Interface Testing"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Filter Events... &raquo;</span>
</a>
</li>

Expand Down
191 changes: 191 additions & 0 deletions Testing/Utility/FilterEventsInterfaceTest.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
<!DOCTYPE html>

<html lang="en" data-content_root="../../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>Filter Events Interface Testing</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/bootstrap-sphinx.css?v=fadd4351" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=77160d70" />
<script src="../../_static/documentation_options.js?v=30d551ce"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="Doxygen Setup" href="../../DoxygenSetup.html" />
<link rel="prev" title="Sample Transmission Calculator Testing" href="../General/SampleTransmissionCalculatorTestGuide.html" />

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-59110517-1', 'auto');
ga('send', 'pageview');

</script>


</head><body>





<div id="navbar" class="navbar navbar-default ">
<div class="container">
<div class="navbar-header">

<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://www.mantidproject.org">
</a>
<span class="navbar-text navbar-version pull-left"><b>master</b></span>
</div>


<div class="collapse navbar-collapse nav-collapse">

<ul class="nav navbar-nav">
<li class="divider-vertical"></li>

<li><a href="../../index.html">Home</a></li>
<li><a href="https://download.mantidproject.org">Download</a></li>
<li><a href="https://docs.mantidproject.org">User Documentation</a></li>
<li><a href="http://www.mantidproject.org/contact">Contact Us</a></li>








</ul>

<form class="navbar-form navbar-right" action="../../search.html" method="get">
<div class="form-group">
<input type="text" name="q" class="form-control" placeholder="Search" />
</div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<p>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="nav-item nav-item-0"><a href="../../index.html">Documentation</a> &#187;</li>

<li class="nav-item nav-item-1"><a href="../index.html" accesskey="U">Testing</a> &#187;</li>




<li class="nav-item nav-item-this"><a href="">Filter Events Interface Testing</a></li>


</ul>
</div> </p>
</div>

<div class="container">
<div class="row">
<div class="body col-md-12 content" role="main">

<section id="filter-events-interface-testing">
<span id="filter-event-testing"></span><h1>Filter Events Interface Testing<a class="headerlink" href="#filter-events-interface-testing" title="Link to this heading"></a></h1>
<nav class="contents local" id="contents">
<ul class="simple">
<li><p><a class="reference internal" href="#filter-events" id="id1">Filter Events</a></p></li>
</ul>
</nav>
<p><em>Prerequisites</em></p>
<ul class="simple">
<li><p>Download the <cite>Usage Examples &lt;https://www.mantidproject.org/installation/index#sample-data&gt;</cite></p></li>
</ul>
<p><em>Note: At the time of writing this test, there’s an issue pending with data validation on this interface(#36073); if this issue hasn’t been
corrected yet, please remind the team about it, else update documentation and remove this note.</em></p>
<section id="filter-events">
<h2><a class="toc-backref" href="#id1" role="doc-backlink">Filter Events</a><a class="headerlink" href="#filter-events" title="Link to this heading"></a></h2>
<p><strong>Time required: 10-15 minutes</strong></p>
<hr class="docutils" />
<ol class="arabic simple">
<li><p>Open <code class="docutils literal notranslate"><span class="pre">Interfaces</span></code> &gt; <code class="docutils literal notranslate"><span class="pre">Utility</span></code> &gt; <code class="docutils literal notranslate"><span class="pre">Filter</span> <span class="pre">Events</span></code></p></li>
<li><p>Browse for file ‘CNCS_7860_Event.nxs’ from the Usage Data set.</p></li>
<li><p>Click <code class="docutils literal notranslate"><span class="pre">Load</span></code>. After a few seconds, plot should be updated with a graph of summed up Counts vs.Time.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">_Summed_..</span></code> workspace should be generated on the ADS, as well as <code class="docutils literal notranslate"><span class="pre">CNCS_7860_Event</span></code> workspace.</p></li>
<li><p>Clicking on the <code class="docutils literal notranslate"><span class="pre">Refresh</span></code> button should update the drop-down list with the name of the loaded workspace.</p></li>
<li><p>Check Vertical Range Sliders work properly. You can’t overlap the sliders or cross the sliders.</p></li>
<li><p>Check Horizontal Range Sliders work properly. You can’t overlap or cross the sliders.</p></li>
<li><p>Check that the Text Edits for <code class="docutils literal notranslate"><span class="pre">Starting</span> <span class="pre">Time</span></code> and <code class="docutils literal notranslate"><span class="pre">Stopping</span> <span class="pre">Time</span></code> work correctly:</p>
<ul class="simple">
<li><p>Position of vertical bars on the plot are updated appropiately when changing the numerical value of the edits and clicking <code class="docutils literal notranslate"><span class="pre">Set</span></code>.</p></li>
<li><p>Setting a value on <code class="docutils literal notranslate"><span class="pre">Starting</span> <span class="pre">Time</span></code> larger than the current value on <code class="docutils literal notranslate"><span class="pre">Stopping</span> <span class="pre">Time</span></code> is not allowed, and viceversa.</p></li>
<li><p>Data Validation is working, you can’t set non-numeric characters on the edits (except for <cite>-</cite> sign, see note).</p></li>
</ul>
</li>
<li><p>Clicking anywhere on the plot raises a dialog with the <cite>(x,y)</cite> position clicked on the graph.</p></li>
<li><p>On <code class="docutils literal notranslate"><span class="pre">Output</span> <span class="pre">Name</span></code> write <cite>FilteredTemp</cite>.</p></li>
<li><p>On <code class="docutils literal notranslate"><span class="pre">Sample</span> <span class="pre">Log</span></code> drop-down menu select <code class="docutils literal notranslate"><span class="pre">SampleTemp</span></code> and hit on <code class="docutils literal notranslate"><span class="pre">Plot</span></code> button. Plot should update with the temperature log for the run vs. time.</p></li>
<li><p>Moving vertical range sliders updates <code class="docutils literal notranslate"><span class="pre">Minimum</span> <span class="pre">Value</span></code> and <code class="docutils literal notranslate"><span class="pre">Maximum</span> <span class="pre">Value</span></code> text edits.</p></li>
<li><p>Move the upper vertical range slider to be at approximately <code class="docutils literal notranslate"><span class="pre">279.95</span></code> degrees and the lower vertical range slider to be at approximately <code class="docutils literal notranslate"><span class="pre">279.91</span></code> degrees.</p></li>
<li><p>Click on <code class="docutils literal notranslate"><span class="pre">Filter</span></code> button. That should generate several workspaces in the ADS. Two table workspaces ending with <code class="docutils literal notranslate"><span class="pre">_info</span></code>, <code class="docutils literal notranslate"><span class="pre">_splitters</span></code> and a group workspace named <code class="docutils literal notranslate"><span class="pre">FilteredTemp</span></code> containing one
event workspace named <code class="docutils literal notranslate"><span class="pre">FilteredTemp_0</span></code>, as well as a <code class="docutils literal notranslate"><span class="pre">TOFCorrTable</span></code> 2D workspace.</p></li>
<li><p>Right-click on <code class="docutils literal notranslate"><span class="pre">FilteredTemp_0</span></code> and select <code class="docutils literal notranslate"><span class="pre">Show</span> <span class="pre">Sample</span> <span class="pre">Logs</span></code>. On Sample Log Window, check the <code class="docutils literal notranslate"><span class="pre">SampleTemp</span></code> entry and make sure the temperature range is approximately
the same as selected with the sliders in the interface.</p></li>
<li><p>Back to the filter events interface, click on the <code class="docutils literal notranslate"><span class="pre">Refresh</span></code> button. The drop-down list should refresh with the available event workspaces on the ADS (<code class="docutils literal notranslate"><span class="pre">CNCS_7860_Event</span></code> and <code class="docutils literal notranslate"><span class="pre">FilteredTemp_0</span></code>).</p></li>
<li><p>Select <code class="docutils literal notranslate"><span class="pre">FilteredTemp_0</span></code> and click on <code class="docutils literal notranslate"><span class="pre">Use</span></code> button. Plot should update accordingly.</p></li>
<li><p>On output name write <cite>FilteredTime</cite>, on <code class="docutils literal notranslate"><span class="pre">Starting</span> <span class="pre">Time</span></code> text edit write <code class="docutils literal notranslate"><span class="pre">80</span></code> and then click <code class="docutils literal notranslate"><span class="pre">Set</span></code>. On <code class="docutils literal notranslate"><span class="pre">Stopping</span> <span class="pre">Time</span></code> text edit write <code class="docutils literal notranslate"><span class="pre">100</span></code> and then click <code class="docutils literal notranslate"><span class="pre">Set</span></code>.</p></li>
<li><p>Select <code class="docutils literal notranslate"><span class="pre">Filtered</span> <span class="pre">by</span> <span class="pre">Time</span></code> tab and on <code class="docutils literal notranslate"><span class="pre">Time</span> <span class="pre">Interval</span></code> text edit write <code class="docutils literal notranslate"><span class="pre">10</span></code>. Then click on <code class="docutils literal notranslate"><span class="pre">Filter</span></code> button. Two table workspaces ending with <code class="docutils literal notranslate"><span class="pre">_info</span></code>, <code class="docutils literal notranslate"><span class="pre">_splitters</span></code> and a group workspace named <code class="docutils literal notranslate"><span class="pre">FilteredTime</span></code> containing two
event workspaces named <code class="docutils literal notranslate"><span class="pre">FilteredTime_0</span></code> and <code class="docutils literal notranslate"><span class="pre">FilteredTime_1</span></code> appear on ADS.</p></li>
<li><p>Double-click on <code class="docutils literal notranslate"><span class="pre">FilteredTemp_0_info</span></code> table workspace. The table should contain two rows, indicating two time intervals of approximately 10 seconds each, and the corresponding workspace group index.</p></li>
<li><p>Back to the filter events interface, without changing anything else from previous interaction, go to <code class="docutils literal notranslate"><span class="pre">Advanced</span> <span class="pre">Setup</span></code> tab and tick the <code class="docutils literal notranslate"><span class="pre">Fast</span> <span class="pre">Log</span></code> checkbox. Go back to <code class="docutils literal notranslate"><span class="pre">Filter</span> <span class="pre">by</span> <span class="pre">Time</span></code> and click
on <code class="docutils literal notranslate"><span class="pre">Filter</span></code> button again. Workspace ending in <code class="docutils literal notranslate"><span class="pre">_splitters</span></code> should be a 2D workspace, all other workspaces should remain the same.</p></li>
<li><p>Now on <code class="docutils literal notranslate"><span class="pre">Algorithms</span></code> select <code class="docutils literal notranslate"><span class="pre">FilterEvents</span></code> algorithm and click on <code class="docutils literal notranslate"><span class="pre">Execute</span></code>. As <code class="docutils literal notranslate"><span class="pre">InputWorkspace</span></code> select <code class="docutils literal notranslate"><span class="pre">FilteredTemp_0</span></code> workspace. On Splitter workspace select <code class="docutils literal notranslate"><span class="pre">FilteredTemp_0_splitters</span></code>,
and on <code class="docutils literal notranslate"><span class="pre">Information</span> <span class="pre">Workspace</span></code> select <code class="docutils literal notranslate"><span class="pre">FilteredTemp_0_info</span></code>. Tick on <code class="docutils literal notranslate"><span class="pre">GroupWorkspaces</span></code> checkbox. And name the <code class="docutils literal notranslate"><span class="pre">OutputWorkspaceBaseName</span></code> as <code class="docutils literal notranslate"><span class="pre">FilteredTimeRedux</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Run</span></code> the algorithm with <code class="docutils literal notranslate"><span class="pre">Group</span> <span class="pre">Workspaces</span></code> checked. On the ADS, a new group event workspace named <code class="docutils literal notranslate"><span class="pre">FilteredTimeRedux</span></code> should appear. The two event workspaces that it contains should be equal to the two event workspace previuosly generated
through the interface, <code class="docutils literal notranslate"><span class="pre">FilteredTime_0</span></code> and <code class="docutils literal notranslate"><span class="pre">FilteredTime_1</span></code>.</p></li>
<li><p>Back to the Filter Events interface. Click on <code class="docutils literal notranslate"><span class="pre">Refresh</span></code> button again, and make sure it updates with the list of all event workspaces on the ADS.</p></li>
</ol>
</section>
</section>


</div>

</div>
</div>
<footer class="footer">
<div class="container">
<ul class="nav navbar-nav" style=" float: right;">




<li>
<a href="../General/SampleTransmissionCalculatorTestGuide.html" title="Previous Chapter: Sample Transmission Calculator Testing"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm hidden-tablet">&laquo; Sample Transm...</span>
</a>
</li>
<li>
<a href="../../DoxygenSetup.html" title="Next Chapter: Doxygen Setup"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm hidden-tablet">Doxygen Setup &raquo;</span>
</a>
</li>


<li><a href="#">Back to top</a></li>
</ul>
<p>
</p>
</div>
</footer>
</body>
</html>
1 change: 1 addition & 0 deletions Testing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ <h3>Navigation</h3>
<li class="toctree-l1"><a class="reference internal" href="ReflectometryGUI/ReflectometryGUITests.html">Reflectometry GUI Testing</a></li>
<li class="toctree-l1"><a class="reference internal" href="SANSGUI/ISISSANSGUITests.html">SANS GUI Testing</a></li>
<li class="toctree-l1"><a class="reference internal" href="General/SampleTransmissionCalculatorTestGuide.html">Sample Transmission Calculator Testing</a></li>
<li class="toctree-l1"><a class="reference internal" href="Utility/FilterEventsInterfaceTest.html">Filter Events Interface Testing</a></li>
</ul>
</div>
</section>
Expand Down
Binary file modified objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit c9ed0a7

Please sign in to comment.