neutronpy.instrument.TripleAxisInstrument.calc_resolution_in_Q_coords¶
-
TripleAxisInstrument.
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).
Parameters: - Q : ndarray or list of ndarray
The Q vectors in reciprocal space at which resolution should be calculated, in inverse angstroms
- 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 ResLib 3.4c, originally authored by A. Zheludev, 1999-2007, Oak Ridge National Laboratory