Package invocations :: Package cu13 :: Module cu13
[hide private]

Module cu13

source code

Invoke CU13 to create required products.


Author: N.J.G. Cross

Organization: WFAU, IfA, University of Edinburgh

Contributors: R.S. Collins, E. Sutorius

Classes [hide private]
  Cu13
Creates deep stacks and confidence images from intermediate stacks derived from MSB observations.
  ProductDefinition
Determination of the best possible configuration of a specific product.
  Provenance
Functions [hide private]
 
dualFilterOrder(pointings) source code
 
getFileSizeKiloBytes(fileName, oneExtOnly=False)
TODO: Why not just: return os.path.getsize(fileName) / SystemConstants.one_kilobyte?
source code
 
updateHeaders(bestProd, newZPDict, prov, isGrt=False) source code
 
updateHead(imgName, bestProd, newZPDict, prov, isCat=False) source code
 
convertSFtoMEF(singleFITSName, MEFName, fileType, extractTool, normFac) source code
 
createNewHeader(header, extType)
Remove values, so that you don't mess up.
source code
 
fixHistory(hdu)
Edits CASU histories, so that they conform to new WFAU standard.
source code
 
getNormalisationConst(mosaicObj)
Find normalisation factor for weight image.
source code
list(str)
fitsKeys(db)
Returns: Mosaic FITS header keys.
source code
str
metadataAttrs(db)
Returns: Names of the database table attributes that provide the Mosaic FITS metadata.
source code
 
astrometry(imghdr, inputHeader, constDict)
Fix up astrometry keywords.
source code
 
checkList(keyword)
Make sure header keyword should not populate image header.
source code
 
getComment(wrds)
returns comment string
source code
 
dec2sex(decimalValue, noDecPlc)
Coverts value from decimal to sexidecimal
source code
 
addAdditionalPadding(header, minNoItems)
Adds padding to fill up header, so is not too short.
source code
 
reOrder(productList, dualImages)
Reorders productList such that dualImages are always first, and order within these two categories is by productID.
source code
 
getRobustLimit(magData, magErrData, expML)
Find best fit function.
source code
Variables [hide private]
  __package__ = 'invocations.cu13'
Function Details [hide private]

fitsKeys(db)

source code 
Returns: list(str)
Mosaic FITS header keys.

metadataAttrs(db)

source code 
Returns: str
Names of the database table attributes that provide the Mosaic FITS metadata.