scippneutron.conversion.tof#
Functions for computing coordinates in time-of-flight neutron scattering.
Some functions in this module use the neutron mass \(m_n\)
and Planck constant \(h\).
Their values are taken from scipp.constants
.
Functions
|
Compute them momentum transfer vector from wavelength. |
|
Compute the absolute value of the momentum transfer from wavelength. |
|
Combine elements of Q into a single vector variable. |
|
Compute the d-spacing from the neutron energy. |
|
Compute the d-spacing from time-of-flight. |
|
Compute the d-spacing from wavelength. |
|
Compute the neutron energy from time-of-flight. |
|
Compute the neutron energy from wavelength. |
|
Compute the energy transfer in direct inelastic scattering. |
|
Compute the energy transfer in indirect inelastic scattering. |
|
Unpack vector of hkl indices into separate variables. |
|
Compute hkl indices from momentum transfer. |
|
Compute the absolute time when the neutron passed through the sample. |
|
Compute the UB matrix from U and B matrices. |
|
Compute the wavelength from momentum transfer. |
|
Compute the wavelength from the neutron energy. |
|
Compute the wavelength from time-of-flight. |