FindCosmicRaysConfig#

class lsst.meas.algorithms.FindCosmicRaysConfig(*args, **kw)#

Bases: Config

Config for the findCosmicRays function

Attributes Summary

background

Background estimation configuration (ConfigurableInstance, default <class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)

cond3_fac

used in condition 3 for CR; see CR.cc code (float, default 2.0)

cond3_fac2

used in condition 3 for CR; see CR.cc code (float, default 0.35)

keepCRs

Don't interpolate over CR pixels (bool, default False)

minSigma

CRs must be > this many sky-sig above sky (float, default 6.0)

min_DN

CRs must have > this many DN (== electrons/gain) in initial detection (float, default 150.0)

nCrPixelMax

maximum number of contaminated pixels (int, default 1000000)

niteration

number of times to look for contaminated pixels near known CR pixels (int, default 6)

Methods Summary

setDefaults()

Subclass hook for computing defaults.

Attributes Documentation

background#

Background estimation configuration (ConfigurableInstance, default <class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)

cond3_fac#

used in condition 3 for CR; see CR.cc code (float, default 2.0)

cond3_fac2#

used in condition 3 for CR; see CR.cc code (float, default 0.35)

keepCRs#

Don’t interpolate over CR pixels (bool, default False)

minSigma#

CRs must be > this many sky-sig above sky (float, default 6.0)

min_DN#

CRs must have > this many DN (== electrons/gain) in initial detection (float, default 150.0)

nCrPixelMax#

maximum number of contaminated pixels (int, default 1000000)

niteration#

number of times to look for contaminated pixels near known CR pixels (int, default 6)

Methods Documentation

setDefaults()#

Subclass hook for computing defaults.

Notes#

Derived Config classes that must compute defaults rather than using the Field instances’s defaults should do so here. To correctly use inherited defaults, implementations of setDefaults must call their base class’s setDefaults.