Exemplo n.º 1
0
 def test_createAllTracerCarneys(self):
     from glob2 import glob
     sespth = '/scratch/jjlee/Singularity/CCIR_00559/ses-E120895'
     tracers = ['FDG' 'OC', 'OO', 'HO']
     for t in tracers:
         trapths = glob(os.path.join(sespth,
                                     t + '_DT*.000000-Converted-AC'))
         for p in trapths:
             obj = Reconstruction(p, v=True)
             obj.createDynamic2Carney()
Exemplo n.º 2
0
 def test_createTracerCarney(self):
     import matplotlib.pyplot as plt
     locs = [self.tracerBaseloc]
     for lo in locs:
         obj = Reconstruction(lo + '-AC', v=True, minTime=0)
         dyn = obj.createDynamic2Carney(fcomment='_createDynamic2Carney')
         if dyn:
             plt.matshow(dyn['im'][60, :, :])
             plt.matshow(dyn['im'][:, 170, :])
             plt.matshow(dyn['im'][:, :, 170])
             plt.show()
Exemplo n.º 3
0
 def test_mirror(self):
     pth = '/scratch/jjlee/Singularity/CCIR_00754/ses-E201038/OO_DT20161216112441.000000-Converted-AC'
     obj = Reconstruction(pth, v=True, minTime=0, si=31)
     obj.checkScattering(fcomment='_checkScattering')
     obj.createDynamic2Carney(fcomment='_createDynamic2Carney')