Package wsatools :: Module ProvenanceUtils :: Class Provenance
[hide private]

Class Provenance

source code


Contains all relevant provenance information of a file.

Instance Methods [hide private]
 
__init__(self, archive, filePath, components=None, haveFrameInfo=False)
Queries archive to determine full provenance info of given file.
source code
 
getPrevLayer(self, combiframeID=None)
Get the top level provenance files.
source code
 
_queryTypeFrameInfo(self, finalFrameType) source code
 
getRegionName(self) source code
 
getSumTotalExpTime(self, multiframeID=None) source code
 
getTotalExpTime(self, multiframeID=None) source code
 
getMjdObs(self) source code
 
calcMeanMjdObs(self, extNum, normalList, depInfoDict, frameInfoDict) source code
 
getMeanMjdObs(self, extNum) source code
 
getDateObs(self) source code
 
getMjdEnd(self) source code
 
getObsIDList(self) source code
 
getNoRawFrames(self) source code
 
getOrigFileNameList(self) source code
 
getNEpochs(self) source code
 
isSameJitterPattern(self) source code

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

Class Variables [hide private]
  archive = None
Connection to database to query.
  combFileName = None
Path to top-level file with provenance info.
  frameType = None
Base component frame type.
  isPawPrint = False
Is the top-level file a paw-print?
  normalFrameInfo = None
?
  normalList = None
?
  sysc = None
Initialised SystemConstants for this archive.
  _frameInfoOfType = None
Dictionary of frame info referenced by type.
  _provList = None
Complete list of component files (ProvFile).
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, archive, filePath, components=None, haveFrameInfo=False)
(Constructor)

source code 

Queries archive to determine full provenance info of given file.

Parameters:
  • archive (DbSession) - Connection to database to query.
  • filePath (str) - Full path to file with provenance is to be determined.
  • haveFrameInfo (bool) - ?
Overrides: object.__init__

getPrevLayer(self, combiframeID=None)

source code 

Get the top level provenance files.

Parameters:
  • combiframeID (int) - multiframeID of main file.