From dba26938874e3f242feb2de110a2c9304a81f52b Mon Sep 17 00:00:00 2001 From: Applin Date: Wed, 5 Jun 2024 08:56:51 +0100 Subject: [PATCH] Add manual testing docs for Indirect Diffraction --- .../Testing/Indirect/DiffractionTests.rst | 54 +++++++++++++++++++ dev-docs/source/Testing/index.rst | 1 + 2 files changed, 55 insertions(+) create mode 100644 dev-docs/source/Testing/Indirect/DiffractionTests.rst diff --git a/dev-docs/source/Testing/Indirect/DiffractionTests.rst b/dev-docs/source/Testing/Indirect/DiffractionTests.rst new file mode 100644 index 000000000000..d1ea05d436a9 --- /dev/null +++ b/dev-docs/source/Testing/Indirect/DiffractionTests.rst @@ -0,0 +1,54 @@ +Indirect Diffraction Testing +============================ + +.. contents:: + :local: + +Diffraction +----------- + +*Preparation* + +- You need access to the ISIS data archive +- ``osiris_041_RES10.cal`` file from the unit test data + +**Time required 2-5 minutes** + +-------------- + +#. Open ``Interfaces`` > ``Indirect`` > ``Diffraction`` +#. Make sure ``Instrument`` is set to ``IRIS`` +#. The default Detector Grouping should be ``All`` +#. In ``Run Numbers`` enter 26176 +#. Click ``Run`` +#. The output workspace should have 1 spectra +#. Change the Detector Grouping to ``Groups`` and enter 4 groups +#. Click ``Run`` +#. The output workspace should have 4 spectra +#. Change the Detector Grouping to ``Custom``, enter ``105-108,109-112`` +#. Click ``Run`` +#. The output workspace should have 2 spectra +#. Still using ``Custom``, try spectra numbers outside of the range 105-112. This should not be allowed. +#. Using ``Groups``, try more than 8 groups. This should not be allowed. +#. Using ``File``, try an empty string. This should not be allowed. + +**Time required 2-5 minutes** + +-------------- + +#. Open ``Interfaces`` > ``Indirect`` > ``Diffraction`` +#. Make sure ``Instrument`` is set to ``OSIRIS`` +#. Set ``Reflection`` to ``Diffonly`` +#. In ``Run Numbers`` enter 89813 +#. In ``Vanadium File`` enter 89757 +#. In ``Cal File`` load the ``osiris_041_RES10.cal`` file from the unit test data +#. Select Detector Grouping to be ``All`` +#. Click ``Run`` +#. There should be three output workspaces, ending in ``_dRange``, ``_q`` and ``_tof`` +#. Each of the output workspaces should have 1 spectra +#. Change the Detector Grouping to ``Groups`` and enter 5 groups +#. Click ``Run`` +#. Each of the output workspaces should have 5 spectra +#. Change the Detector Grouping to ``Custom``, enter ``3-500,501-962`` +#. Click ``Run`` +#. Each of the output workspaces should have 2 spectra diff --git a/dev-docs/source/Testing/index.rst b/dev-docs/source/Testing/index.rst index 55d457af016b..cda8621bbe04 100644 --- a/dev-docs/source/Testing/index.rst +++ b/dev-docs/source/Testing/index.rst @@ -26,6 +26,7 @@ creation is outlined in :ref:`issue_tracking`. SliceViewer/SliceViewer MuonAnalysis_test_guides/index ElementalAnalysis/ElementalAnalysisTests + Indirect/DiffractionTests Indirect/DataReductionTests Inelastic/DataManipulationTests Inelastic/QENSFittingTests