def test_createTwiliteStaticUTE(self): import matplotlib.pyplot as plt obj = Reconstruction(self.twiliteBaseloc + '-AC', v=True) sta = obj.createStaticUTE(fcomment='_createStaticUTE') plt.matshow(sta['im'][60, :, :]) plt.matshow(sta['im'][:, 170, :]) plt.matshow(sta['im'][:, :, 170]) plt.show()
def test_createTracerStaticUTE(self): import matplotlib.pyplot as plt mids = ['HYGLY30/V2/Twilite_V2'] loc = '/home2/jjlee/Docker/NiftyPETd/' + mids[0] + '-Converted' obj = Reconstruction(loc, v=True) sta = obj.createStaticUTE(fcomment='_createStaticUTE') plt.matshow(sta['im'][60, :, :]) plt.matshow(sta['im'][:, 170, :]) plt.matshow(sta['im'][:, :, 170]) plt.show()