neutronpy.instrument.Goniometer.u_phi

Goniometer.u_phi(omega, chi, phi)[source]

Vector to help convert goniometer angles to lab reference frame orientation

Parameters:
omega : float

Goniometer rotation axis in rad

chi : float

Goniometer upper tilt in rad

phi : float

Goniometer lower tilt angle in rad

Returns:
rot : array

Array to help convert between lab reference goniometer and sample reference