neutronpy.instrument.get_bragg_widths

neutronpy.instrument.get_bragg_widths(RM)[source]

Returns the Bragg widths given a resolution matrix.

Parameters:
RM : array

Resolution matrix, either in inverse angstroms or rlu

Returns:
bragg : array

Returns an array of bragg widths in the order [Qx, Qy, Qz, W], in the units given by the input matrix.