tag_pix_thr

lstchain.image.muon.muon_analysis.tag_pix_thr(image, thr_low=50, thr_up=500, pe_thr=10)

Tag event with a double threshold on the number of pixels above 10 photoelectrons. Default values apply elimination of pedestal and calibration events

Parameters:
imagenp.ndarray

Number of photoelectrons in each pixel

thr_lowint

Lower threshold for number of pixel > 10 pe

thr_upint

Upper threshold for number of pixel > 10 pe

pe_thr‘float’

Minimum number of photoelectrons for a pixel to be counted

Returns:
bool

It determines whether an event is in the given nr of pixel range