neutronpy.instrument.Goniometer

class neutronpy.instrument.Goniometer(u, theta_u, v, theta_v, sgu, sgl, omega=0)[source]

Class for defining a goniometer.

Attributes:
omega_rad
sgu_rad
sgl_rad
theta_rad
theta
N
M
Omega
Theta
T_c
T_Phi
R
U

Defines an orientation matrix based on supplied goniometer angles

Methods

u_phi(omega, chi, phi) Vector to help convert goniometer angles to lab reference frame orientation