neutronpy.instrument.TripleAxisInstrument.calc_resolution

TripleAxisInstrument.calc_resolution(hkle)[source]

For a scattering vector (H,K,L) and energy transfers W, given experimental conditions specified in EXP, calculates the Cooper-Nathans resolution matrix RMS and Cooper-Nathans Resolution prefactor R0 in a coordinate system defined by the crystallographic axes of the sample.

Parameters:
hkle : list

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

Notes

Translated from ResLib, originally authored by A. Zheludev, 1999-2007, Oak Ridge National Laboratory