neutronpy.instrument.TimeOfFlightInstrument.get_resolution_params

TimeOfFlightInstrument.get_resolution_params(hkle, plane, mode='project')[source]

Returns parameters for the resolution gaussian.

Parameters:
hkle : list of floats

Position and energy for which parameters should be returned

plane : ‘QxQy’ | ‘QxQySlice’ | ‘QxW’ | ‘QxWSlice’ | ‘QyW’ | ‘QyWSlice’

Two dimensional plane for which parameters should be returned

mode : ‘project’ | ‘slice’

Return the projection into or slice through the chosen plane

Returns:
tuple : R0, RMxx, RMyy, RMxy

Parameters for the resolution gaussian