24 from .subtractBackground
import SubtractBackgroundTask
28 """Config for the findCosmicRays function 30 nCrPixelMax = pexConfig.Field(
32 doc=
"maximum number of contaminated pixels",
35 minSigma = pexConfig.Field(
37 doc=
"CRs must be > this many sky-sig above sky",
40 min_DN = pexConfig.Field(
42 doc=
"CRs must have > this many DN (== electrons/gain) in initial detection",
45 cond3_fac = pexConfig.Field(
47 doc=
"used in condition 3 for CR; see CR.cc code",
50 cond3_fac2 = pexConfig.Field(
52 doc=
"used in condition 3 for CR; see CR.cc code",
55 niteration = pexConfig.Field(
57 doc=
"number of times to look for contaminated pixels near known CR pixels",
60 keepCRs = pexConfig.Field(
62 doc=
"Don't interpolate over CR pixels",
65 background = pexConfig.ConfigurableField(
66 target=SubtractBackgroundTask,
67 doc=
"Background estimation configuration" 74 self.
background.undersampleStyle =
"REDUCE_INTERP_ORDER"