Removed limit on max clusters in the loop

This commit is contained in:
bergamaschi 2024-04-26 08:35:14 +02:00
parent 01466af40a
commit ec5494ebd6

View File

@ -33,7 +33,7 @@ def color_images_bh(r, emin, emax, ebins, xmin, xmax, ymin, ymax, hist3d=None,
bh.axis.Regular(ebins, emin, emax),
)
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'])
vv=[cl['x'],cl['y'],v['tot']/gain]
hist3d.fill(*vv)