Page History
...
peaks
:
dict
- dictionary ofarrays/lists - most natural order to work with a single value for many peaks
dict keywords:
seg : array
ofint
- segment index, e.g. in CSPAD consisting of 32 segments this index should be in the range from 0 to 31row : array
ofint
- row of the central pixel with maximal intensity in the square region defined byrank
col : array
ofint
- column of the central pixel with maximal intensity in the square region defined byrank
seg : array
ofint
- segment index fordata
, e.g. in CSPAD consisting of 32 segments this index should be in the range from 0 to 31.ndim>2
npix : array
ofint
- number of pixels accounted in the peakamp_max : array
offloat
- maximal intensity among peak pixelsamp_total : array
offloat
- total intensity of pixels accounted in the peakrow_cgmean : array
offloat
- "center of gravity" row coordinate evaluated for pixels accounted in the peak using their intensities as weightscol_cgmean : array
offloat
- "center of gravity" column coordinate evaluated for pixels accounted in the peak using their intensities as weightsraw_cgrms : array
offloat
- "center of gravity" row coordinate rmscol_cgrms : array
offloat
- "center of gravity" column coordinate rmsbase : array
offloat
- per pixel base level mean estimated for pixels in the ring region (parameters
) around peak centerbase_r
, base_dr
noise : array
offloat
- per pixel base level rms estimated for pixels in the ring region (parameters
) around peak centerbase_r
, base_dr
son : array
offloat
- signal over noise ratio estimated asamp_total
/(noise * sqrt(
npix
))peak
ofinds
: listpeak
objects
peak attributes:pixinds : array
of (int,int)
- ( ofnumpy.array(ndim=2)
- list of the peak-pixelrow,col
) indexes for pixels accounted in the peak indexes. Shape of the array for each peak is(npix,2)
.pixrow : array
ofint
- row index for pixels accounted in the peakpixcol : array
ofint
- column index for pixels accounted in the peak
peakmap : array
shaped as data ofint
- map with pixels marked by peak numberspeak methods:
row_min() : int
- minimal row of the pixels accounted in the peakrow_max() : int
- maximal row of the pixels accounted in the peakcol_min() : int
- minimal column of the pixels accounted in the peakcol_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:
...
- returned values of
amp_max
andamp_total
are base level corrected by subtractingbase
andbase
*
, respectively, if do_base_sub=True.npix
- signal over noise
son
is evaluated asamp_total
/(noise * sqrt(
,npix
)) - output dictionary of peak parameters is generated from the list of seed peaks complying with selection parameters
npix_min, npix_max, amax_thr, atot_thr, son_min
.
References
...
Overview
Content Tools