示例#1
0
        inSitu_cond = inSitu_cond + [('DIMPLELATTICE:image',args.image)]

    tofLock  = data_pick( dat, tofLock_cond , K ) 
    tofAssoc = data_pick( dat, tofAssoc_cond, K ) 
    inSitu   = data_pick( dat, inSitu_cond, K )

    print "LOCKTOF DATA  @", np.unique(tofLock[:,K(args.xkey)])
    print "ASSOCTOF DATA @", np.unique(tofAssoc[:,K(args.xkey)])
    print "INSITU DATA   @", np.unique(inSitu[:,K(args.xkey)])
 
    # PLOT ALL THE tofLock DATA 
    tofLock_label =  '$10\,\mu\mathrm{s}$ TOF'
    tofLock_offset = -0.4
    tofLock_color = 'black' 
    plotkey( ax1, gdat[k], K, fx, args.xkey, 'HHHEIGEN:andor2norm', tofLock, base1, \
             marker='s', mec=tofLock_color, mfc='None',  ms=4.,\
             labelstr=tofLock_label,\
             save=False, raw=True, raw_offset=tofLock_offset)
    plotkey( axA1, gdat[k], K, fx, args.xkey, 'ANDOR1EIGEN:signal', tofLock, 1., \
             marker='s', mec=tofLock_color, mfc='None', ms=4.,\
             labelstr=tofLock_label,\
             save=False, raw=True, raw_offset=tofLock_offset)
    plotkey( axA2,gdat[k], K, fx, args.xkey, 'ANDOR2EIGEN:signal', tofLock, 1., \
             marker='s', mec=tofLock_color, mfc='None', ms=4.,\
             labelstr=tofLock_label,\
             save=False, raw=True, raw_offset=tofLock_offset)

    # PLOT ALL THE tofAssoc DATA 
    tofAssoc_label =  '$10\,\mu\mathrm{s}$ TOF - Assoc'
    tofAssoc_offset = -0.6
    tofAssoc_color = 'red' 
    plotkey( ax1, gdat[k], K, fx, args.xkey, 'HHHEIGEN:andor2norm', tofAssoc, base1, \
示例#2
0
#    print "INSITU DATA   @", np.unique(inSitu[:,K(args.xkey)])
 
    # PLOT ALL THE tofLock DATA 
    tofLock_label =  '$10\,\mu\mathrm{s}$ TOF'
    tofLock_offset = -0.4
    tofLock_color = 'black' 
#    plotkey( ax1, gdat[k], K, fx, args.xkey, 'HHHEIGEN:andor2norm', tofLock, base1, \
#             marker='s', mec=tofLock_color, mfc='None',  ms=4.,\
#             labelstr=tofLock_label,\
#             save=False, raw=True, raw_offset=tofLock_offset)
##    plotkey( axA1, gdat[k], K, fx, args.xkey, 'ANDOR1EIGEN:signal', tofLock, 1., \
#             marker='s', mec=tofLock_color, mfc='None', ms=4.,\
#             labelstr=tofLock_label,\
#             save=False, raw=True, raw_offset=tofLock_offset)
    plotkey( axA2,gdat[k], K, fx, args.xkey, 'ANDOR2EIGEN:signal', tofLock, 1., \
             marker='s', mec=tofLock_color, mfc='None', ms=4.,\
             labelstr=tofLock_label,\
             save=False, raw=True, raw_offset=tofLock_offset)
#
    # PLOT ALL THE tofAssoc DATA 
    tofAssoc_label =  '$10\,\mu\mathrm{s}$ TOF - Assoc'
    tofAssoc_offset = -0.6
    tofAssoc_color = 'red' 
#    plotkey( ax1, gdat[k], K, fx, args.xkey, 'HHHEIGEN:andor2norm', tofAssoc, base1, \
#             marker='s', mec=tofAssoc_color, mfc='None',  ms=4.,\
#             labelstr=tofAssoc_label,\
#             save=False, raw=True, raw_offset=tofAssoc_offset)
#    plotkey( axA1, gdat[k], K, fx, args.xkey, 'ANDOR1EIGEN:signal', tofAssoc, 1., \
#             marker='s', mec=tofAssoc_color, mfc='None', ms=4.,\
#             labelstr=tofAssoc_label,\
#             save=False, raw=True, raw_offset=tofAssoc_offset)
#    plotkey( axA2, gdat[k], K, fx, args.xkey, 'ANDOR2EIGEN:signal', tofAssoc, 1., \