identify_evt_sigmaclip

xpolbeamline.events.identify_evt_sigmaclip(image, sigma_clip_level=5, peak_size=3)[source]

Find the events of the given image.

This function identifies local maxima, using some cuts.

Parameters:

image : np.array of shape (frame, x, y)

background subtracted image

sigma_clip_level : float

Level for sigma clipping

peak_size : int

Event are recognized, if they are highest pixel in an island of size (peacksize * peak_size).

Returns:

events : astropy.table.Table

Event table