Package test_suite :: Package unit_tests :: Package _maths_fns :: Module test_rotation_matrix
[hide private]
[frames] | no frames]

Module test_rotation_matrix

source code

Classes [hide private]
  Test_rotation_matrix
Unit tests for the maths_fns.rotation_matrix relax module.
Variables [hide private]
  R = array([[ 0., 0., 0...
  R2 = array([[ 0., 0., 0...
  EULER_EPSILON = 1e-05
  EULER_NEXT = [1, 2, 0, 1]
  EULER_TRANS_TABLE = {'xyx': [0, 0, 1], 'xyz': [0, 0, 0], 'xzx'...
  __package__ = 'test_suite.unit_tests._maths_fns'
  hypot = <ufunc 'hypot'>
  sign = <ufunc 'sign'>

Imports: deepcopy, acos, asin, pi, sqrt, array, eye, float64, zeros, norm, shuffle, uniform, TestCase, wrap_angles, R_random_axis, R_random_hypersphere, R_to_axis_angle, R_to_euler, R_to_euler_xyx, R_to_euler_xyz, R_to_euler_xzx, R_to_euler_xzy, R_to_euler_yxy, R_to_euler_yxz, R_to_euler_yzx, R_to_euler_yzy, R_to_euler_zxy, R_to_euler_zxz, R_to_euler_zyx, R_to_euler_zyz, R_to_quaternion, R_to_tilt_torsion, atan2, axis_angle_to_R, axis_angle_to_euler_xyx, axis_angle_to_euler_xyz, axis_angle_to_euler_xzx, axis_angle_to_euler_xzy, axis_angle_to_euler_yxy, axis_angle_to_euler_yxz, axis_angle_to_euler_yzx, axis_angle_to_euler_yzy, axis_angle_to_euler_zxy, axis_angle_to_euler_zxz, axis_angle_to_euler_zyx, axis_angle_to_euler_zyz, axis_angle_to_quaternion, copysign, cos, cross, dot, euler_to_R_xyx, euler_to_R_xyz, euler_to_R_xzx, euler_to_R_xzy, euler_to_R_yxy, euler_to_R_yxz, euler_to_R_yzx, euler_to_R_yzy, euler_to_R_zxy, euler_to_R_zxz, euler_to_R_zyx, euler_to_R_zyz, euler_to_axis_angle_xyx, euler_to_axis_angle_xyz, euler_to_axis_angle_xzx, euler_to_axis_angle_xzy, euler_to_axis_angle_yxy, euler_to_axis_angle_yxz, euler_to_axis_angle_yzx, euler_to_axis_angle_yzy, euler_to_axis_angle_zxy, euler_to_axis_angle_zxz, euler_to_axis_angle_zyx, euler_to_axis_angle_zyz, gauss, generic_fns, matrix_indices, quaternion_to_R, quaternion_to_axis_angle, random_rot_axis, reverse_euler_xyx, reverse_euler_xyz, reverse_euler_xzx, reverse_euler_xzy, reverse_euler_yxy, reverse_euler_yxz, reverse_euler_yzx, reverse_euler_yzy, reverse_euler_zxy, reverse_euler_zxz, reverse_euler_zyx, reverse_euler_zyz, sin, tilt_torsion_to_R, transpose, two_vect_to_R


Variables Details [hide private]

R

Value:
array([[ 0.,  0.,  0.],
       [ 0.,  0.,  0.],
       [ 0.,  0.,  0.]])

R2

Value:
array([[ 0.,  0.,  0.],
       [ 0.,  0.,  0.],
       [ 0.,  0.,  0.]])

EULER_TRANS_TABLE

Value:
{'xyx': [0, 0, 1],
 'xyz': [0, 0, 0],
 'xzx': [0, 1, 1],
 'xzy': [0, 1, 0],
 'yxy': [1, 1, 1],
 'yxz': [1, 1, 0],
 'yzx': [1, 0, 0],
 'yzy': [1, 0, 1],
...