Beispiel #1
0
 def getfiles(self):
     # load sinogram of 512x512 MRI phantom
     self.sino = np.load(utilstest.getfile("sino500.npz"))["data"]
     # load reconstruction made with ASTRA FBP (with filter designed in spatial domain)
     self.reference_rec = np.load(
         utilstest.getfile("rec_astra_500.npz"))["data"]
Beispiel #2
0
 def getfiles(self):
     # load 512x512 MRI phantom
     self.phantom = np.load(utilstest.getfile("Brain512.npz"))["data"]
     # load sinogram computed with PyHST
     self.sino = np.load(utilstest.getfile("sino500_pyhst.npz"))["data"]
 def getfiles(self):
     # load 512x512 MRI phantom - TODO include Lena or ascent once a .npz is available
     self.image = np.load(utilstest.getfile("Brain512.npz"))["data"]
Beispiel #4
0
 def getfiles(self):
     # load 512x512 MRI phantom
     self.phantom = np.load(utilstest.getfile("Brain512.npz"))["data"]
     # load sinogram computed with PyHST
     self.sino = np.load(utilstest.getfile("sino500_pyhst.npz"))["data"]
Beispiel #5
0
 def getfiles(self):
     # load 512x512 MRI phantom - TODO include Lena or ascent once a .npz is available
     self.image = np.load(utilstest.getfile("Brain512.npz"))["data"]
Beispiel #6
0
 def getfiles(self):
     # load sinogram of 512x512 MRI phantom
     self.sino = numpy.load(utilstest.getfile("sino500.npz"))["data"]
     # load reconstruction made with ASTRA FBP (with filter designed in spatial domain)
     self.reference_rec = numpy.load(utilstest.getfile("rec_astra_500.npz"))["data"]
Beispiel #7
0
 def setUp(self):
     self.sinoTrueData = numpy.load(
         utilstest.getfile("sino500.npz"))["data"]