neutronpy.instrument.TripleAxisInstrument.get_angles_and_Q

TripleAxisInstrument.get_angles_and_Q(hkle)[source]

Returns the Triple Axis Spectrometer angles and Q-vector given position in reciprocal space

Parameters:
hkle : list

Array of the scattering vector and energy transfer at which the calculation should be performed

Returns:
[A, Q] : list

The angles A (A1 – A5 in a list of floats) and Q (ndarray)