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
|
Public Member Functions | |
def | __init__ |
def | hasCentroid |
def | isUsable |
def | isGood |
Public Attributes | |
centroidKey | |
centroidFlagKey | |
edgeKey | |
saturatedKey | |
fluxField | |
interpolatedCenterKey | |
parentKey | |
Private Member Functions | |
def | _isMultiple |
Provide usability tests and catalog keys for sources in a source catalog Fields set include: - centroidKey key for centroid - centroidFlagKey key for flag that is True if centroid is valid - edgeKey key for field that is True if source is near an edge - saturatedKey key for field that is True if source has any saturated pixels - interpolatedCenterKey key for field that is True if center pixels have interpolated values; interpolation is triggered by saturation, cosmic rays and bad pixels, and possibly other reasons - fluxField name of flux field @throw RuntimeError if schema version unsupported or a needed field is not found
Definition at line 79 of file matchOptimisticB.py.
def lsst.meas.astrom.matchOptimisticB.SourceInfo.__init__ | ( | self, | |
schema, | |||
fluxType = "Ap" |
|||
) |
Construct a SourceInfo @param[in] schema source catalog schema @param[in] fluxType flux type: typically one of "Ap" or "Psf" @throw RuntimeError if the flux field is not found
Definition at line 93 of file matchOptimisticB.py.
|
private |
Return True if source is likely multiple sources
Definition at line 113 of file matchOptimisticB.py.
def lsst.meas.astrom.matchOptimisticB.SourceInfo.hasCentroid | ( | self, | |
source | |||
) |
Return True if the source has a valid centroid
Definition at line 121 of file matchOptimisticB.py.
def lsst.meas.astrom.matchOptimisticB.SourceInfo.isGood | ( | self, | |
source | |||
) |
Return True if source is usable for matching (as per isUsable) and likely has a good centroid For a source to have a good centroid it should not be interpolated in the center; this includes saturated sources so we don't have to test separately for that.
Definition at line 136 of file matchOptimisticB.py.
def lsst.meas.astrom.matchOptimisticB.SourceInfo.isUsable | ( | self, | |
source | |||
) |
Return True if the source is usable for matching, even if possibly saturated For a source to be usable it must: - have a valid centroid - be not too near the edge
Definition at line 127 of file matchOptimisticB.py.
lsst.meas.astrom.matchOptimisticB.SourceInfo.centroidFlagKey |
Definition at line 102 of file matchOptimisticB.py.
lsst.meas.astrom.matchOptimisticB.SourceInfo.centroidKey |
Definition at line 101 of file matchOptimisticB.py.
lsst.meas.astrom.matchOptimisticB.SourceInfo.edgeKey |
Definition at line 103 of file matchOptimisticB.py.
lsst.meas.astrom.matchOptimisticB.SourceInfo.fluxField |
Definition at line 105 of file matchOptimisticB.py.
lsst.meas.astrom.matchOptimisticB.SourceInfo.interpolatedCenterKey |
Definition at line 106 of file matchOptimisticB.py.
lsst.meas.astrom.matchOptimisticB.SourceInfo.parentKey |
Definition at line 108 of file matchOptimisticB.py.
lsst.meas.astrom.matchOptimisticB.SourceInfo.saturatedKey |
Definition at line 104 of file matchOptimisticB.py.