Defines the cross-talk artefact flagging algorithm and process.
|
|
|
|
list(tuple(int, int))
|
_getMultiframeList(self)
Works through all of the latest multiframe versions that contribute
to this detection table, where cross-talk flag has not already been
set. |
source code
|
|
list(tuple(float, float, float)
|
_getBrightStars(self,
curDet)
Returns:
A list of bright star positions and J-band magnitudes in the current
detector field from the 2MASS catalogue. |
source code
|
|
tuple(float, float, float)
|
_locateBrightStar(self,
ra,
dec,
j_m,
curDet)
Finds the location of a bright star on the WFCAM detector given the
RA, Dec coordinates, by finding the equivalent WFCAM detection. |
source code
|
|
float
|
_calcArtefactRadius(self,
j_m,
artErr,
xPixSize,
pixFactor)
Returns the radius in pixels for a first-order cross-talk artefact
produced by a star of given brightness (j_m). |
source code
|
|
list(str)
|
_createArtefactList(self,
x,
y,
artRad,
artSpacing,
xSize,
ySize,
xOffset,
yOffset)
Creates a list of artefact positions along each direction from a
bright cross-talk producing star. |
source code
|
|
list(str)
|
_createStripList(self,
x1,
x2,
artRad,
artSpacing,
size,
isXY)
Determines the list of artefacts in the one-dimension (both
directions) from a given position of a bright star on the detector
image. |
source code
|
|
int
|
_flagDetector(self,
artefacts,
mfID,
extNum)
Flags possible cross-talk artefacts in the detection table, given a
list of artefacts positions as SQL where clause predicates. |
source code
|
|
|
_commitMultiframe(self,
mfID)
Commits all updates to the detection table for a given multiframe and
updates the relevant ppErrBitsStatus flag in ProgrammeTable. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
roundingErr = 0.0002
Default uncertainty in astrometry due to rounding (degrees).
|
|
searchErr = 0.003
Search radius limit for non-detected 2MASS stars (degrees).
|
|
magLim = 14
2MASS J-band magnitude limit for star to create cross-talk.
|
|
densityLimit = 150
Field bright star density limit for cross-talk flagging.
|
|
avoidDenseFields = False
Only flag fields beneath the density limit?
|
|
bitMask = None
Hexadecimal bit mask string to denote possible cross-talk artefacts.
|
|
_detTable = None
Detection table to be flagged.
|
|
_twomass = None
Connection to 2MASS database.
|
|
_updater = None
The calling QualityFlagUpdater object.
|