Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
    for evt orun.events():
        rawo = det.raw
        raw = o.raw(evt)
        clb = deto.raw.calib(evt)
        img = det.rawo.image(evt)

Optional parameters

Code Block
a = deto.raw.calib(evt, cmpars=(7,2,100,10), mbits=0o7, mask=None, edge_rows=10, edge_cols=10, center_rows=5, center_cols=5)
a = deto.raw.image(self, evt, nda=None, **kwa)

...

Code Block
# access calibration constants and derived arrays
peds = deto.raw._pedestals()
gain = det.rawo._gain() # ADU/keV
gfac = deto.raw._gain_factor() # keV/ADU
rms = det.rawo._rms()
status = deto.raw._status()
mask = deto.raw._mask_calib()
mask = det.rawo._mask_from_status()
mask = deto.raw._mask_edges()
mask = deto.raw._mask(calib=False, status=False, edges=False, **kwa)
mask = deto.raw._mask_comb(mbits=0o377, **kwa)

arrx, arry, arrz = det.rawo._pixel_coords(do_tilt=True, cframe=0)
indx, indy, indz = det.rawo._pixel_coord_indexes(pix_scale_size_um=None, xy0_off_pix=None, do_tilt=True, cframe=0)
  
# array of the common mode increment
incr = det.rawo._common_mode_increment(evt, cmpars=(0,7,100,10))

...