Versions Compared

Key

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

...

two-threshold peak-finding algorithm in restricted region around pixel with maximal intensity. Two threshold allows to speed-up this algorithms. It is assumed that only pixels with intensity above thr_high are pretending to be peak candidate centers. Candidates are considered as a peak if their intensity is maximal in the (square) region of radius around them. Low threshold in the same region is used to account for contributing to peak pixels.

...

peak_finder_v1

Code Block
peaks = alg.peak_finder_v1(nda, thr_low=10, thr_high=150, radius=5, dr=0.05)

...

  • defines (square) region to search for local maximum with intensity above thr_high and contributing pixels with intensity above  thr_lo,
  • is used as a r0 parameter to evaluate background and noise rms as explained in section below.

...

peak_finder_v4

Code Block
peaks = alg.peak_finder_v4(nda, thr_low=10, thr_high=150, rank=2, r0=5, dr=0.05)

...

define peaks for regions of connected pixels above threshold

...

peak_finder_v2

Code Block
peaks = alg.peak_finder_v2(nda, thr=10, r0=5, dr=0.05)

...

define peaks in local maximums of specified rank (radius), for example rank=2 means 5x5 pixel region around central pixel.

...

peak_finder_v3

Code Block
peaks = alg.peak_finder_v3(nda, rank=2, r0=5, dr=0.05)

...