コード例 #1
0
ファイル: test_util_test.py プロジェクト: yskashyap/Savu
 def testGetProjectionExampleData(self):
     raw_data = tu.get_projection_test_data()
     self.assertEqual(raw_data.data.data.shape, (91, 135, 160),
                      "Data is not the correct shape, was " +
                      str(raw_data.data.data.shape))
     self.assertEqual(raw_data.rotation_angle.data.shape, (91,),
                      "Rotation_Angle is not the correct shape, was " +
                      str(raw_data.rotation_angle.data.shape))
コード例 #2
0
ファイル: structures_test.py プロジェクト: yskashyap/Savu
 def setUp(self):
     self.nx_tomo_data = tu.get_nx_tomo_test_data()
     self.projection_data = tu.get_projection_test_data()
コード例 #3
0
ファイル: structures_test.py プロジェクト: imaluengo/Savu
 def setUp(self):
     self.nx_tomo_data = tu.get_nx_tomo_test_data()
     self.projection_data = tu.get_projection_test_data()