From b102c4f1e1df8455f14bff793f8afd1a2c65dfec Mon Sep 17 00:00:00 2001 From: Anders Markvardsen Date: Fri, 12 Dec 2014 06:48:42 +0000 Subject: [PATCH] added documentation that describes alg. re #10689 --- .../TOFSANSResolutionByPixel-v1.rst | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Code/Mantid/docs/source/algorithms/TOFSANSResolutionByPixel-v1.rst b/Code/Mantid/docs/source/algorithms/TOFSANSResolutionByPixel-v1.rst index a068f01c3de0..5ae2b6b349c1 100644 --- a/Code/Mantid/docs/source/algorithms/TOFSANSResolutionByPixel-v1.rst +++ b/Code/Mantid/docs/source/algorithms/TOFSANSResolutionByPixel-v1.rst @@ -9,6 +9,24 @@ Description ----------- -Calculates the Q-resolution per pixel according to Mildner and Carpenter. +Calculates the Q-resolution per pixel according to Mildner and Carpenter equation + +.. math:: (\sigma_Q )^2 = \frac{4\pi^2}{12\lambda^2} [ 3(\frac{R_1}{L_1})^2 + 3(\frac{R_2}{L_3})^2 + (\frac{\Delta R}{L_2})^2 ] + Q^2(\frac{\sigma_{\lambda}}{\lambda})^2 + +where :math:`L1` and :math:`L2` are the primary and secondary flight-paths respectively and + +.. math:: \frac{1}{L_3} = \frac{1}{L_1} + \frac{1}{L_2} + +:math:`\sigma_Q` is returned as the y-values of the InputWorkspace, and the +remaining variables in the main equation above are related to parameters of this +algorithm as follows: + +* :math:`R_1` equals SourceApertureRadius +* :math:`R_2` equals SampleApertureRadius +* :math:`\Delta R` equals SigmaModerator +* :math:`\sigma_{\lambda}` equals SigmaModerator although note that the former is in units of AA and the later microseconds + +:math:`\lambda` in equation is the midtpoint of wavelength +histogram bin values. .. categories::