Mapping of pixel data to 2-d image
test example detector/test_01_epix10ka_raw_calib_image.py
uses epix10kaquad data (4, 352, 384) with pixel size 100μm
statistics of entries at np.ones(...) aray mapping to 2-d image array with bin size 100, 101, 110μm
the number of overlapped pixels is 11, ~10k, ~80k. This statistics depends on panel geometry - relative positions and tilts.
Modes of image reconstruction
raw = det.raw.raw(evt) arr = det.raw.calib(evt) # TBD when xtc2 data is available img = det.raw.image(evt) # calib will be taken by default with available geometry for det. img = det.raw.image(evt, nda=arr, pix_scale_size_um=args.pscsize, mapmode=args.mapmode) # with non-default parameters for test purpose
Parameter mapmode
Parameter mapmode
selects what to do with multiple pixels mapped to the same image bin.
mapmode = 0/1/2/3/4 for statistics of entries/last pixel/max/mean/interpolated(TBD) intensity
References
Overview
Content Tools