Versions Compared

Key

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

...

  • numpy.array, ndim=2  - 2-d data numpy array for processing
  • [numpy.array, ndim=2] - list of 2-d data numpy arrays for processing
  • numpy.array , ndim>2 - a set of 2-d data numpy arrays for processing; last two indexes are used as 2-d row and column, higher indexes are compacted to the 1-dim segment index

...

    • seg : array of int - segment index, e.g. in CSPAD consisting of 32 segments this index should be in the range from 0 to 31
    • row : array of int - row of the central pixel with maximal intensity in the square region defined by rank
    • col : array of int - column of the central pixel with maximal intensity in the square region defined by rank
    • npix : array of int - number of pixels accounted in the peak
    • amp_max : array of float - maximal intensity among peak pixels
    • amp_total : array of float - total intensity of pixels accounted in the peak
    • row_cgmean : array of float - "center of gravity" row coordinate evaluated for pixels accounted in the peak using their intensities as weights
    • col_cgmean : array of float - "center of gravity" column coordinate evaluated for pixels accounted in the peak using their intensities as weights
    • raw_cgrms : array of float - "center of gravity" row coordinate rms
    • col_cgrms : array of float - "center of gravity" column coordinate rms
    • base : array of float - per pixel base level mean estimated for pixels in the ring region (parameters base_r, base_dr)  around peak center
    • noise : array of float - per pixel base level rms estimated for pixels in the ring region (parameters base_r, base_dr) around peak center
    • son : array of float - signal over noise ratio estimated as amp_total / (noise * sqrt(npix))
    • peak : list of peak objects
      peak attributes:
      • pixinds : array of (int,int) - (row,col) indexes for pixels accounted in the peak
      • pixrow : array of int - row index for pixels accounted in the peak
      • pixcol : array of int - column index for pixels accounted in the peak
      • peakmap : array shaped as data of int - map with pixels marked by peak numbers
      peak methods:
      • row_min() : int - minimal row of the pixels accounted in the peak
      • row_max() : int - maximal row of the pixels accounted in the peak
      • col_min() : int - minimal column of the pixels accounted in the peak
      • col_max() : int - maximal column of the pixels accounted in the peak
      • other methods of data processing involving pixrow, pixcol, etc.

Peak-finding algorithms

Each peak-finding algorithm works in a few stages. First stage is a search for peak candidates or "seed" peaks and this is a most distinctive part between algorithms:

...