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

Class ProductDefinition

source code


Determination of the best possible configuration of a specific product.

Instance Methods [hide private]
 
__init__(self, cu13obj, productID, filterTable, productType=None, imagePathName=None)
?
source code
list(Cu13.ProductDetails)
findRequiredInputs(self)
Finds required components If the product is a deep pawprint, the components are single OB pawprints.
source code
?
getCasuExtArgs(self)
Returns: Tuple of command-line arguments required for the CASU source extractor.
source code
int
getDualProductID(self)
Returns: productID of dual image product.
source code
 
getRowList(self)
TODO: This should be part of DataFactory.View, maybe it already is?
source code
set(Cu13.ProductDetails)
getStackComponents(self)
List of input intermediate stacks components, selected from archive.
source code
list(ProductDetails)
getCombiProductComponents(self)
Queries the database for each required combined product to see if component products exist or if they have been recently created.
source code
 
getExternalInputs(self) source code
 
getImageDetails(self, images)
Takes a list of database component image multiframeID, confidence image multiframeID, filename entries and returns a list of paths to the component images, confidence images as well as the total exposure time summed across all images for each detector.
source code
 
getFrameType(self)
Use product type, amount of
source code
 
getCurrentSwpMos(self, extProduct) source code
 
findExternalData(self, mosaicInfo, extProduct)
Checks directory for mosaics that match in ra,dec and filter
source code
 
getZeropoint(self) source code
 
catExists(self) source code
 
catName(self) source code
 
confName(self) source code
 
preGroutCatName(self) source code
 
getSegmName(self)
Segmentation image name
source code
 
creationDate(self)
Date of creation YYYYMMDD
source code
 
externalCatsExist(self) source code
 
fileName(self)
Filename
source code
 
filteredName(self) source code
 
filtConfName(self) source code
 
files(self) source code
 
getAsciiCatName(self) source code
 
getDeepExtList(self) source code
 
getExternalCatName(self) source code
 
getInparName(self) source code
 
getNOffsets(self) source code
 
getPointInfo(self) source code
 
getPosAngle(self) source code
 
imageBaseName(self) source code
 
imageExists(self) source code
 
isBig(self) source code
 
isExternal(self) source code
 
isMef(self, fileName=None) source code
 
isMosaic(self) source code
 
isTile(self) source code
 
provFile(self) source code
 
sexInparFile(self) source code
 
stackPosition(ra, dec) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  archive = None
?
  clip = None
?
  compProductType = None
?
  dateRange = None
?
  dirDate = None
?
  existingProducts = None
?
  extDirectory = None
?
  external = False
?
  frameType = None
?
  fTable = None
?
  imagePathName = None
?
  inparFile = None
?
  isComponent = False
?
  newProductsOfType = None
?
  notDepOnly = False
?
  numStack = None
?
  outputDir = None
?
  part = None
?
  problemComponents = None
?
  prodMfID = None
?
  productType = None
?
  programme = None
?
  programmeID = None
?
  releaseNum = None
?
  reprocess = None
?
  sysc = None
?
  swarpdir = None
?
  useDeep = False
?
  wcs = None
?
  bScale = 1.0
datascale value.
  doNotUpdate = False
Do not update flag
  componentOrder = None
Order of components.
  _dualProductID = None
?
  imageProductDict = None
hash(x)
  idImageProductDict = None
hash(x)
  deepProdMfIDDict = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cu13obj, productID, filterTable, productType=None, imagePathName=None)
(Constructor)

source code 

?

Overrides: object.__init__

findRequiredInputs(self)

source code 

Finds required components If the product is a deep pawprint, the components are single OB pawprints. If the product is a tile or mosaic, then the product links must be checked.

Returns: list(Cu13.ProductDetails)
List of component frames (mfID,fileName,confName,catName).

getCasuExtArgs(self)

source code 
Returns: ?
Tuple of command-line arguments required for the CASU source extractor.

getDualProductID(self)

source code 
Returns: int
productID of dual image product.

To Do: once CU9 is finished, get rid of this

getStackComponents(self)

source code 

List of input intermediate stacks components, selected from archive. If only one, then it sets the prodMfID to the multiframeID of this single component, which will become the product.

Returns: set(Cu13.ProductDetails)
List of component frames.

getCombiProductComponents(self)

source code 

Queries the database for each required combined product to see if component products exist or if they have been recently created.

Returns: list(ProductDetails)
List of stacks with components.