def test_radial_acquisition_pattern_360(self): expected = self.setup.getExpectedOutputMatrix(self._testMethodName) self.actual = aqc.radialPattern(self.mask_size, 360) self.assertTrue(self.setup.matrixEqual(expected, self.actual))
p3fimage20 = util.post_process_image(p3image20) util.saveImage("p3_Masked_Image_20%.jpg", p3fimage20) p3mask33 = aqc.cartesianPattern(cardiac_size, 33) p3applied33 = util.applyMask(dft_cardiac, p3mask33) p3image33 = util.getImage(p3applied33) p3fimage33 = util.post_process_image(p3image33) util.saveImage("p3_Masked_Image_33%.jpg", p3fimage33) p3mask75 = aqc.cartesianPattern(cardiac_size, 75) p3applied75 = util.applyMask(dft_cardiac, p3mask75) p3image75 = util.getImage(p3applied75) p3fimage75 = util.post_process_image(p3image75) util.saveImage("p3_Masked_Image_75%.jpg", p3fimage75) p4cm8 = aqc.radialPattern(cardiac_size, 8) p4ca8 = util.applyMask(dft_cardiac, p4cm8) p4ci8 = util.getImage(p4ca8) p4fci8 = util.post_process_image(p4ci8) util.saveImage("p4_Cardiac_Masked_Image_8.jpg", p4fci8) p4cm6 = aqc.radialPattern(cardiac_size, 6) p4ca6 = util.applyMask(dft_cardiac, p4cm6) p4ci6 = util.getImage(p4ca6) p4fci6 = util.post_process_image(p4ci6) util.saveImage("p4_Cardiac_Masked_Image_6.jpg", p4fci6) p4cm9 = aqc.radialPattern(cardiac_size, 9) p4ca9 = util.applyMask(dft_cardiac, p4cm9) p4ci9 = util.getImage(p4ca9) p4fci9 = util.post_process_image(p4ci9)