easistrain.EDD.math.qsample

easistrain.EDD.math.qsample(angles)[source]

Normalized scattering vector in the sample frame. As input we expect the spherical coordinates of the normalized scattering vector in the laboratory frame and the orientation of the sample in the laboratory frame.

Non-optimized implementation of compute_qs.

Parameters:

angles (ndarray)

Return type:

ndarray