test_coordinate_transformation (method)¶
Package: File Created: Thursday, 5th March 2020 11:32:19 am Last Modified: Thursday, 5th March 2020 11:33:16 am Author: Sebastian Guenther
-
class
unittest_InCurrentDQ_meth
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
unittest for coordinate transformation functions
-
test_coordinate_transformation_Ok
()[source]¶ Check that the coordinate transformations can return a correct output
-
X_uvw
= array([[ 1. , -0.5, -0.5], [-1. , 0.5, 0.5]])¶
-
X_ab
= array([[1, 0], [0, 1]])¶
-
th_90
= 1.5707963267948966¶
-
th_180
= 3.141592653589793¶
-
X_dq90
= array([[ 0, -1], [ 1, 0]])¶
-
X_dq180
= array([[-1, 0], [ 0, -1]])¶
-