Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:17

0001 #!/usr/bin/env python
0002 
0003 import os, numpy as np
0004 from opticks.ana.fold import Fold
0005 import matplotlib.pyplot as mp
0006 
0007 SIZE = np.array([1280, 720]) 
0008 
0009 if __name__ == '__main__':
0010     t = Fold.Load(symbol="t")
0011     print(repr(t))
0012 
0013     t_pos = t.gs[:,5,:3]       
0014 
0015     fig, ax = mp.subplots(figsize=SIZE/100.)
0016     ax.set_aspect('equal')
0017     ax.scatter( t_pos[:,0], t_pos[:,2], label="t_pos", s=1 ) 
0018 
0019     fig.show()
0020 
0021