Exemplo n.º 1
0
 def asymmStr(self):
     unqueued = lib.unQueuedBins(self.datas[0], 5, [-1, 1], [-1, 1])
     unqx = unqueued.ProjectionX()
     unqy = unqueued.ProjectionY()
     ay = tuple([100 * f for f in lib.asymmetry(unqx)])
     ap = tuple([100 * f for f in lib.asymmetry(unqy)])
     del unqueued, unqx, unqy
     return ';  '.join([('ay: % .2f(%.2f)' % ay).rjust(8),
                        ('ap: % .2f(%.2f)' % ap).rjust(8)])
Exemplo n.º 2
0
 def asymmStr(self):
     unqueued = lib.unQueuedBins(self.datas[0],5,[-1,1],[-1,1])
     unqx = unqueued.ProjectionX()
     unqy = unqueued.ProjectionY()
     ay = tuple([100*f for f in lib.asymmetry(unqx)])
     ap = tuple([100*f for f in lib.asymmetry(unqy)])
     del unqueued, unqx, unqy
     return ';  '.join([ ('ay: % .2f(%.2f)'%ay).rjust(8),
                         ('ap: % .2f(%.2f)'%ap).rjust(8)
                     ])
Exemplo n.º 3
0
def unqueue(h, doIt):
    return lib.unQueuedBins(h, 5, [-1, 1], [-1, 1]) if doIt else h
Exemplo n.º 4
0
def unqueue(h):
    return lib.unQueuedBins(h,5,[-1,1],[-1,1])
Exemplo n.º 5
0
def unqueue(h):
    return lib.unQueuedBins(h,5,[-1,1],[-1,1])
Exemplo n.º 6
0
def unqueue(h, doIt):
    return lib.unQueuedBins(h,5,[-1,1],[-1,1]) if doIt else h