You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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, nda=arr, pix_scale_size_um=args.pscsize, mapmode=args.mapmode)

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




  • No labels