LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Static Public Attributes | List of all members
lsst.ip.diffim.psfMatch.DetectionConfig Class Reference

Configuration for detecting sources on images for building a PSF-matching kernel. More...

Inheritance diagram for lsst.ip.diffim.psfMatch.DetectionConfig:

Static Public Attributes

tuple detThreshold
 
tuple detThresholdType
 
tuple detOnTemplate
 
tuple badMaskPlanes
 
tuple fpNpixMin
 
tuple fpNpixMax
 
tuple fpGrowKernelScaling
 
tuple fpGrowPix
 
tuple scaleByFwhm
 

Detailed Description

Configuration for detecting sources on images for building a PSF-matching kernel.

Configuration for turning detected lsst.afw.detection.FootPrints into an acceptable (unmasked, high signal-to-noise, not too large or not too small) list of lsst.ip.diffim.KernelSources that are used to build the Psf-matching kernel

Definition at line 35 of file psfMatch.py.

Member Data Documentation

tuple lsst.ip.diffim.psfMatch.DetectionConfig.badMaskPlanes
static
Initial value:
1 = pexConfig.ListField(
2  dtype = str,
3  doc = """Mask planes that lead to an invalid detection. Options: NO_DATA EDGE SAT BAD CR INTRP""",
4  default = ("NO_DATA", "EDGE", "SAT")
5  )

Definition at line 65 of file psfMatch.py.

tuple lsst.ip.diffim.psfMatch.DetectionConfig.detOnTemplate
static
Initial value:
1 = pexConfig.Field(
2  dtype = bool,
3  doc = """If true run detection on the template (image to convolve); if false run detection on the science image""",
4  default = True
5  )

Definition at line 59 of file psfMatch.py.

tuple lsst.ip.diffim.psfMatch.DetectionConfig.detThreshold
static
Initial value:
1 = pexConfig.Field(
2  dtype = float,
3  doc = "Value of footprint detection threshold",
4  default = 10.0,
5  check = lambda x : x >= 3.0
6  )

Definition at line 42 of file psfMatch.py.

tuple lsst.ip.diffim.psfMatch.DetectionConfig.detThresholdType
static
Initial value:
1 = pexConfig.ChoiceField(
2  dtype = str,
3  doc = "Type of detection threshold",
4  default = "pixel_stdev",
5  allowed = {
6  "value" : "Use counts as the detection threshold type",
7  "stdev" : "Use standard deviation of image plane",
8  "variance" : "Use variance of image plane",
9  "pixel_stdev" : "Use stdev derived from variance plane"
10  }
11  )

Definition at line 48 of file psfMatch.py.

tuple lsst.ip.diffim.psfMatch.DetectionConfig.fpGrowKernelScaling
static
Initial value:
1 = pexConfig.Field(
2  dtype = float,
3  doc = """If config.scaleByFwhm, grow the footprint based on the final kernelSize. Each footprint will be 2*fpGrowKernelScaling*kernelSize x 2*fpGrowKernelScaling*kernelSize. With the value of 1.0, the remaining pixels in each KernelCandiate after convolution by the basis functions will be eqaul to the kernel size iteslf.""",
4  default = 1.0,
5  check = lambda x : x >= 1.0
6  )

Definition at line 84 of file psfMatch.py.

tuple lsst.ip.diffim.psfMatch.DetectionConfig.fpGrowPix
static
Initial value:
1 = pexConfig.Field(
2  dtype = int,
3  doc = """Growing radius (in pixels) for each raw detection footprint. The smaller the faster; however the kernel sum does not converge if the stamp is too small; and the kernel is not constrained at all if the stamp is the size of the kernel. The grown stamp is 2 * fpGrowPix pixels larger in each dimension. This is overridden by fpGrowKernelScaling if scaleByFwhm""",
4  default = 30,
5  check = lambda x : x >= 10
6  )

Definition at line 96 of file psfMatch.py.

tuple lsst.ip.diffim.psfMatch.DetectionConfig.fpNpixMax
static
Initial value:
1 = pexConfig.Field(
2  dtype = int,
3  doc = """Maximum number of pixels in an acceptable Footprint; too big and the subsequent convolutions become unwieldy""",
4  default = 500,
5  check = lambda x : x <= 500
6  )

Definition at line 77 of file psfMatch.py.

tuple lsst.ip.diffim.psfMatch.DetectionConfig.fpNpixMin
static
Initial value:
1 = pexConfig.Field(
2  dtype = int,
3  doc = "Minimum number of pixels in an acceptable Footprint",
4  default = 5,
5  check = lambda x : x >= 5
6  )

Definition at line 71 of file psfMatch.py.

tuple lsst.ip.diffim.psfMatch.DetectionConfig.scaleByFwhm
static
Initial value:
1 = pexConfig.Field(
2  dtype = bool,
3  doc = "Scale fpGrowPix by input Fwhm?",
4  default = True,
5  )

Definition at line 108 of file psfMatch.py.


The documentation for this class was generated from the following file: