Removed limit on max clusters in the loop
This commit is contained in:
parent
01466af40a
commit
ec5494ebd6
@ -33,7 +33,7 @@ def color_images_bh(r, emin, emax, ebins, xmin, xmax, ymin, ymax, hist3d=None,
|
|||||||
bh.axis.Regular(ebins, emin, emax),
|
bh.axis.Regular(ebins, emin, emax),
|
||||||
)
|
)
|
||||||
n=0
|
n=0
|
||||||
while (((cl:=r.read(100000,noisemap)).size)and (n<1E7)):
|
while (((cl:=r.read(100000,noisemap)).size)):#and (n<1E7)):
|
||||||
v=cr.clusterize(csize,cl['data'])
|
v=cr.clusterize(csize,cl['data'])
|
||||||
vv=[cl['x'],cl['y'],v['tot']/gain]
|
vv=[cl['x'],cl['y'],v['tot']/gain]
|
||||||
hist3d.fill(*vv)
|
hist3d.fill(*vv)
|
||||||
|
Reference in New Issue
Block a user