Skip to content
Snippets Groups Projects
Commit 654c2374 authored by Arturs Bekasovs's avatar Arturs Bekasovs
Browse files

Refs #9568. MuonLoad

parent 15bb56ca
No related branches found
No related tags found
No related merge requests found
......@@ -18,17 +18,51 @@ Specifically:
#. Apply dead time correction
#. Group the workspace
#. Offset, crop and rebin the workspace
#. If the loaded data is multi-period - apply the specified operation to
specified periods to get a single data set.
#. Use :ref:`algm-MuonCalculateAsymmetry` to get the
resulting workspace.
Workflow
########
.. figure:: /images/MuonWorkflow.png
:alt: MuonWorkflow.png
.. image:: ../images/MuonWorkflow.png
MuonWorkflow.png
Usage
-----
.. include:: ../usagedata-note.txt
.. note::
For more extensive usage examples on result type / period options please refer to the
:ref:`algm-MuonCalculateAsymmetry` documentation.
For example of applying custom dead times, please refer to :ref:`algm-ApplyDeadTimeCorr`
documentation.
For example of applying custom grouping, please refer to :ref:`algm-MuonGroupDetectors`
documentation.
**Example - Integrated pair asymmetry for MUSR run:**
.. testcode:: ExPairAsymmetry
output = MuonLoad(Filename = 'MUSR0015189.nxs',
TimeZero = 0.55,
Xmin = 0.11,
Xmax = 12,
OutputType = "PairAsymmetry",
PairFirstIndex = 0,
PairSecondIndex = 1,
Alpha = 1.0)
output_int = Integration(output)
print 'Integrated asymmetry for the run: {:.3f}'.format(output_int.readY(0)[0])
Output:
.. testoutput:: ExPairAsymmetry
Integrated asymmetry for the run: 106.326
.. categories::
Code/Mantid/docs/source/images/MuonWorkflow.png

92.2 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment