Beispiel #1
0
 def test_createAllTracerNACs(self):
     from glob2 import glob
     sespth = '/home2/jjlee/Singularity/CCIR_00754/ses-E00165'
     tracers = ['OC', 'OO', 'HO', 'FDG']
     for t in tracers:
         trapths = glob(
             os.path.join(sespth, t + '_DT*.000000-Converted-NAC'))
         for p in trapths:
             obj = Reconstruction(p, v=True)
             obj.createDynamicNAC()
Beispiel #2
0
 def test_createTracerNAC(self):
     import matplotlib.pyplot as plt
     obj = Reconstruction(self.tracerBaseloc + '-NAC', v=True, devid=1)
     dyn = obj.createDynamicNAC(fcomment='_createDynamicNAC')
     if dyn:
         plt.matshow(dyn['im'][60, :, :])
         plt.matshow(dyn['im'][:, 170, :])
         plt.matshow(dyn['im'][:, :, 170])
         plt.show()