Versions Compared

Key

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

...

  • mbits = 1 - masks edges, +2 - masks central rows and columns.
  • width - number of edge rows or columns to mask, def=1
  • wcentral - number of central rows or columns to mask, def=1

plot for mask_geo + 1:

Image Added

status_as_mask

  • use pixel_status for exp=xcsx35617:run=544
  • mask_status = det.status_as_mask(par, mode=0, indexes=(0,1,2,3,4))
  • mode 0/1/2 masks zero/four/eight neighbors around each bad pixel
  • indexes=(0,1,2,3,4) # indexes stand for 'FH','FM','FL','AHL-H','AML-M', respectively. Derived modes have the same status arrays.

found number of bad pixels

  • 2802 for F gain modes and
  • 3253 for all F + A modes

plots for mask_status + 1 for mode=0 and 3:

Image AddedImage Added

 Image Removed

References

mask_geo = det.mask_geo(par, mbits=3, width=10, wcentral=5)wcentralwcentralmode 0/1/2 masks zero/four/eight neighbors around each bad pixelindexes=(0,1,2)) # indexes=(0,1,2,3,4)