Versions Compared

Key

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

...

 cxif5315/proc-cxif5315-r0169-peaks-from-file-v6.py

Peak pre-selection for histogramms

EQU region

Code Block
def procPeakDataEqu(pk) :
    """ Process peak for EQU region; accumulate peak data
    """
    #===================
    # discard from all histograms except its own
    sp.lst_equ_atot.append(pk.atot)
    if pk.atot<1800atot<2000 : return
    sp.lst_equ_r_raw.append(pk.r)
    if pk.r<100     : return
    #===================
    sp.lst_equ_r   .append(pk.r)
    sp.lst_equ_amax.append(pk.amax)
    sp.lst_equ_npix.append(pk.npix)
  ...

Image AddedImage AddedImage Added

Image AddedImage AddedImage Added

 

Image AddedImage AddedImage Added

Image AddedImage AddedImage Added

Image AddedImage AddedImage Added

Image AddedImage AddedImage Added

Image AddedImage AddedImage Added

Image AddedImage AddedImage Added

 

Image AddedImage AddedImage Added

Image AddedImage AddedImage Added

ARC region

Code Block
def procPeakDataArc(pk) :
    """ Process peak for ARC region; accumulate peak statistics in histogram arrays.
    """
    #===================
    # discard from all histograms except its own
    sp.lst_arc_atot.append(pk.atot)
    if pk.atot<1800 : return
    #===================
    sp.lst_arc_amax.append(pk.amax)
    sp.lst_arc_npix.append(pk.npix)
    sp.lst_arc_r   .append(pk.r)
...

...