neutronpy.instrument.TimeOfFlightInstrument.calc_resolution_in_Q_coords

TimeOfFlightInstrument.calc_resolution_in_Q_coords(Q, W)[source]

For a momentum transfer Q and energy transfers W, given experimental conditions specified in EXP, calculates the Cooper-Nathans or Popovici resolution matrix RM and resolution prefactor R0 in the Q coordinate system (defined by the scattering vector and the scattering plane, [Q_prep, Q_para, Qz, W]).

Parameters:
Q : ndarray or list of ndarray

The Q vectors in reciprocal space at which resolution should be calculated, in rlu

W : float or list of floats

The energy transfers at which resolution should be calculated in meV

Returns:
[R0, RM] : list(float, ndarray)

Resolution pre-factor (R0) and resolution matrix (RM) at the given reciprocal lattice vectors and energy transfers

Notes

Translated from “A method to compute the covariance matrix of wavevector-energy transfer for neutron time-of-flight spectrometers” by Violini et al., Nuclear Instruments and Methods in Physics Research A 736 (2014) 31-39. DOI: 10.1016/j.nima.2013.10.042