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.

Anchor
peak_finder_v1
peak_finder_v1
peak_finder_v1

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

...

define peaks for regions of connected pixels above threshold

Anchor
peak_finder_v2
peak_finder_v2
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.

Anchor
peak_finder_v3
peak_finder_v3
peak_finder_v3

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

...

Code Block
alg.set_peak_selection_pars(npix_min=5, npix_max=500, amax_thr=0, atot_thr=1000, son_min=6)

Anchor
peak_finder_v4
peak_finder_v4
peak_finder_v4

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

...