Versions Compared

Key

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

Content

Table of Contents

 

 

Image processing in cxif5315

The best options for image processing in cxif5315

  • DO NOT use common mode

  • DO NOT use polarization factor (polarization is not seen in this data)
  • USE status mask
  • USE radial background subtraction for single angular bin
Code Block
    nda_raw = sp.det.raw(evt)

    if nda_raw is not None :

        nda =  np.array(nda_raw, dtype=np.float32, copy=True)
        nda -= sp.nda_peds
        #nda =  subtract_bkgd(nda, sp.nda_bkgd, mask=sp.nda_smask, winds=sp.winds_bkgd, pbits=0)

        #nda = sp.rb.subtract_bkgd(nda.flatten() * sp.pf)
        nda = sp.rb.subtract_bkgd(nda.flatten())
        nda.shape = sp.nda_peds.shape

        nda *= sp.nda_smask
        #sp.det.common_mode_apply(evt, nda)
        
        img = getImage(evt, nda)

 

Fit results

Averaged Fraser- transformed image using angles from fit to 2 arc peaks

...