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))
def setUp(self): self.nx_tomo_data = tu.get_nx_tomo_test_data() self.projection_data = tu.get_projection_test_data()