Fills the ppErrBits attribute of the given programme's detection
table.
Transactions are committed on a per bit flag basis, as there is an
option to just run for certain bit flags. The cross-talk flag is the
exception, committing on a per multiframe basis, and consequently also
updates ppErrBitsStatus on a per multiframe basis to ensure database
consistency.
Note:
Only the cross-talk flag skips detections from deprecated frames.
This is because skipping deprecated frames for the other, single,
updates will probably be slower as there is no index on the
deprecated flag.
|
|
str
|
bitMask(self,
bitNumber)
Given a binary bit number, return the corresponding hexadecimal bit
mask. |
source code
|
|
int
|
bitNumber(self,
bitMask)
Given a hexadecimal bit mask, return the corresponding binary bit
number string. |
source code
|
|
|
doBitFlag(self,
bitNum,
msg)
Checks whether we should apply this bit flag. |
source code
|
|
bool
|
|
bool
|
requiresUpdate(self,
bitMask,
frameType=None,
isNonDepOnly=False)
Does the current detection table require quality flagging? |
source code
|
|
|
updateBadDetFlag(self,
bitMask,
condition,
frameType=' tile%stack ' )
Updates bit flag for source in a tile region coming from one or more
bad detectors as defined by given condition. |
source code
|
|
|
updateBadPixelFlag(self)
Updates bit flag for bad pixel in source condition. |
source code
|
|
|
|
|
|
|
updateDeblendedFlag(self)
Updates bit flag for deblended source condition. |
source code
|
|
|
|
|
|
|
|
|
updateLowConfidenceFlag(self)
Updates bit flag for low average confidence in source image
condition. |
source code
|
|
|
|
|
|
|
updateSaturatedFlag(self)
Updates bit flag for source close to saturation condition. |
source code
|
|
|
updateStatus(self,
bitMask,
mfID=None,
frameType=None,
isNonDepOnly=False)
Updates ProgrammeFrame to denote quality flagging done. |
source code
|
|
|
updateUncorrectedFlag(self)
Updates bit flag for source without illumination-corrected photometry
condition. |
source code
|
|
str
|
_whereProgrammeObs(self,
bitMask=None,
mfID=None)
Selection of the unflagged (or given) observations from the current
programme with existing entries in the current detection table |
source code
|
|
Inherited from DbConnect.CuSession.CuSession :
__del__ ,
__init__ ,
logBrokenFile ,
run
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
cuNum = 24
Curation task number.
|
|
dateRange = DateRange(begin=<mx.DateTime.DateTime object for '...
Limit date range of flagging monthly tables to this value.
|
|
doBit = -1
Number of big flag to be updated on this run (-1 = all).
|
|
isDeepOnly = False
Only flag detections from deep WFAU-products?
|
|
skipProvenanceCheck = False
Skip mosaic provenance completeness check?
|
|
_detTable = None
Detection table currently being updated.
|
|
_doMosaics = False
Does this programme have mosaics that need flagging too?
|
Inherited from DbConnect.CuSession.CuSession :
archive ,
comment ,
cuEventID ,
curator ,
eTypes ,
isDayStampedLog ,
onlyNonSurveys ,
onlySurveys ,
programme ,
programmeID ,
resultsFilePathName ,
shareFileID ,
sysc
Inherited from DbConnect.CuSession.CuSession (private):
_autoCommit ,
_cleanUpDirs ,
_cuTable ,
_isPersistent ,
_lockPathName ,
_log ,
_numSessions ,
_reqCuEventID ,
_reqDbLock ,
_rolledBack ,
_success ,
_useWorkDir
|