hotpixelbyoccurence¶
-
xpolbeamline.events.
hotpixelbyoccurence
(evt, n=None)[source]¶ Mark events with coordinates that appear more than a n times.
Parameters: evt :
astropy.table.Table
Events table
n : int
Lower bound number of times a pixel has to appear in order to be removed. If not set, this defaults to 3, and then 1/3 of the number of frames if there are more than 9.
Returns: hotpix : np.array of bool
Flag column