easistrain.EDD.math

Functions

compute_qs(angles)

qlab(delta, ttheta)

Normalized scattering vector in the laboratory frame: spherical coordinates to cartesian coordinates

qsample(angles)

Normalized scattering vector in the sample frame.

rotx(rx)

Active transformation: rotation around X

roty(ry)

Active transformation: rotation around Y

rotz(rz)

Active transformation: rotation around Z