Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ConvertToYSpace-v1.rst 2.17 KiB

Description

The final unit of the x-axis is changed to momentum (Y) space as defined by the formula:

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.

Usage

Example - simple convert to Y-space:

Output: