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 
0006 if __name__ == '__main__':
0007     f = Fold.Load(symbol="f")
0008     print(repr(f))
0009    
0010     tab0 = f.seqnib_table
0011     u_seqnib, n_seqnib = np.unique( f.seqnib, return_counts=True )
0012     print(np.c_[u_seqnib, n_seqnib  ])
0013 
0014     assert np.all( tab0[2:] == n_seqnib[:,np.newaxis]  )  
0015