By default epicproc will try to detect bad pixels for any imaging exposure. The new bad pixels are then used in the data reduction together with any other known (via the calibration files) bad pixels.
The parameter searchforbadpixels controls whether the task used for finding bad pixels has to be run or nor. There is a task called badpixfind search for bad pixels and can be used by both task: epproc and emproc.
Additionally, emproc has another specific task to search for bad pixels called embadpixfind. This task can be selected through the parameter badpixfindalgo, that can only be found in emproc. Please, refer to emproc for a detailed explanation of the parameter badpixfindalgo
Further, the parameter searchforbadcolumns controls whether bad columns are also searched for, if you have selected badpixfind. Both parameters are set to true by default.
A number of parameters are available to modify the way badpixfind operates: thresholdlabel, lothresh, hithresh, columnsearchlabel, locolthresh, hicolthresh, flickertimesteps, flickerksthresh, flickerchisqthresh, backgroundrate, narrowerthanpsf, threshabovebackground, loenergythresh, hienergythresh. Refer to badpixfind for a detailed explanation.
XMM-Newton SOC -- 2023-04-16