Page History
...
Code Block |
---|
kwa = {'status':True, 'mstcode':0xffff, 'grinds':grinds,\ 'neighbors=False, 'rad':3, 'ptrn':'r',\ 'edges':True, 'width':0, 'edge_rows':10, 'edge_cols':5,\ 'center':True, 'wcenter':0, 'center_rows':5, 'center_cols':3,\ 'calib':False,\ 'umask':None} a = o.calib(evt, cmpars=(7,2,100,10), **kwa) a = o.image(evt, nda=None, **kwa) |
Cumulative mask example
epix10ka_raw_calib_image mask -e ueddaq02 -d epixquad -r211 -o fig-ueddaq02-r211-epixquad-mask.png -P
Code Block |
---|
mask = det.raw._mask(status=True,\ neighbors=True, rad=5, ptrn='r',\ edges=True, edge_rows=10, edge_cols=5,\ center=True, center_rows=5, center_cols=3,\ calib=False,\ umask=umask) mask += 1 # for visibility of the mask 0 and 1 relative to image background |
...
Overview
Content Tools