コード例 #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)])
コード例 #2
0
ファイル: inputs.py プロジェクト: betchart/statsTA
 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)
                     ])
コード例 #3
0
def unqueue(h, doIt):
    return lib.unQueuedBins(h, 5, [-1, 1], [-1, 1]) if doIt else h
コード例 #4
0
ファイル: old_new.py プロジェクト: betchart/statsTA1D
def unqueue(h):
    return lib.unQueuedBins(h,5,[-1,1],[-1,1])
コード例 #5
0
def unqueue(h):
    return lib.unQueuedBins(h,5,[-1,1],[-1,1])
コード例 #6
0
ファイル: model.py プロジェクト: betchart/statsTA
def unqueue(h, doIt):
    return lib.unQueuedBins(h,5,[-1,1],[-1,1]) if doIt else h