diff --git a/Code/Mantid/Framework/CurveFitting/src/ConvertToYSpace.cpp b/Code/Mantid/Framework/CurveFitting/src/ConvertToYSpace.cpp index c47c5d00b283..ca07c6fd3206 100644 --- a/Code/Mantid/Framework/CurveFitting/src/ConvertToYSpace.cpp +++ b/Code/Mantid/Framework/CurveFitting/src/ConvertToYSpace.cpp @@ -1,5 +1,12 @@ /*WIKI* -TODO: Enter a full wiki-markup description of your algorithm here. You can then use the Build/wiki_maker.py script to generate your full wiki page. +The final unit of the x-axis is changed to momentum (Y) space as defined by +
Y = 0.2393\frac{M}{\epsilon_i^{0.1}}(\omega - \frac{q^2}{2M})
+where M is the mass in atomic mass units, \displaystyle\epsilon is the incident energy, \displaystyle\omega +is the energy change and q is defined as +\sqrt{(k_0^2 + k_1^2 - 2k_0k_1\cos(\theta))}. + +The TOF is used to calculate \displaystyle\epsilon_i and the \displaystyle1/\epsilon dependence causes an increasing set of TOF values to be mapped +to a decreasing set of \displaystyle Y values. As a result the final Y-space values are reversed to give a workspace with monotonically increasing Y values. *WIKI*/ #include "MantidCurveFitting/ConvertToYSpace.h"