Versions Compared

Key

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

...

Anchor
MeetingWithGabriel
MeetingWithGabriel

Common mode correction

Anchor
common-mode
common-mode

Added on 2020-06-04.

The value (raw - pedestals) can be corrected for common effect.

First image below shows one epix10ka segment non-corrected image of shape (352, 384). Vertical stripes presumably arising from this hardware effect.

The same median algorithm is applied as for Jungfrau, but separately for up- and down- part of the segment with parameters

cmpars=(<algorithm-id>, <mode>, <maximal-correction>), where

  • algorithm-id is not used
  • mode=0 - no correction, bit1=1 - in rows (is not useful for epix10ka), bit2=1 - in columns (the best for epix10ka)
  • maximal-correction - maximal allowed correction in ADU

NOTE: currently mask on gain mode is not applied - all pixels are corrected uniformly...

Examples of the command to get corrected image:

nda_cdata = det.calib(evt, cmpars=None)        # default - cm pars from calib directory/system

nda_cdata = det.calib(evt, cmpars=(0, 0, 100)) # use cmpars, do not apply cm correction
nda_cdata = det.calib(evt, cmpars=(0, 2, 100)) # use cmpars, apply cm correction in columns
Images before and after common mode correction:

Image AddedImage Added

Meeting with Gabriel

On 2018-07-06 15:13 meeting with Gabriel.

...